id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
snowflake_docs/try_to_time_0_0.txt | /
1. Construction
5. Extraction
29. Addition & Subtraction
38. Truncation
42. Conversion
57. Time Zone
59. Alerts
date-time) TRY_TO_TIME
Categories:
| |
snowflake_docs/system_current_user_task_name_2_0.txt | Syntax ¶
SYSTEM$CURRENT_USER_TASK_NAME()
Copy
| |
snowflake_docs/create-dynamic-table_3_0.txt | Variant Syntax ¶
| |
snowflake_docs/corr_1_0.txt | CORR ¶
Returns the correlation coefficient for non-null pairs in a group. It is
computed for non-null pairs using the following formula:
> ` COVAR_POP(y, x) / (STDDEV_POP(x) * STDDEV_POP(y)) `
Where ` x ` is the independent variable and ` y ` is the dependent variable.
See also:
| |
snowflake_docs/desc-service_11_0.txt | Usage notes ¶
| |
snowflake_docs/delete_6_0.txt | Examples ¶
Suppose that an organization that leases bicycles uses the following tables:
* The table named leased_bicycles lists the bicycles that were leased out.
* The table named returned_bicycles lists bicycles that have been returned recently. These bicycles need be removed from the table of leased bicycles... | |
snowflake_docs/system_stream_has_data_3_0.txt | Arguments ¶
` _ stream_name _ `
The name of the stream to query.
* Note that the entire name must be enclosed in single quotes, including the database and schema (if the name is fully-qualified), i.e. ` '<db>.<schema>.<stream_name>' ` .
* If the stream name is case-sensitive or includes any special characters... | |
snowflake_docs/date-time-input-output_14_0.txt | Timestamp Formats ¶
For descriptions of the elements used in the formats below, see About the
Elements Used in Input and Output Formats .
Format
|
Example
|
Notes
---|---|---
**ISO Timestamp Formats**
| |
` YYYY-MM-DD"T"HH24:MI:SS.FFTZH:TZM `
|
` 2013-04-28T20:57:01.123456789+07:00 `
|
The double quotes a... | |
snowflake_docs/system_database_refresh_history_6_0.txt | Examples ¶
The following example retrieves the refresh history for the ` mydb `
secondary database. The results are returned in a JSON object:
>
> SELECT SYSTEM$DATABASE_REFRESH_HISTORY('mydb');
>
>
> Copy
The following example retrieves the same details as in the previous example,
but the results are flatten... | |
snowflake_docs/create-notification-integration_15_0.txt | Examples ¶
For examples specific to Snowflake features, see the topics referenced in
Features (in this topic).
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Features
2. Syntax
3. Required Parameters
4. Optional Parameters
5. Cloud Provider Parameters for Automated Data Lo... | |
snowflake_docs/map_size_5_0.txt | Examples ¶
Determine the number of entries in a map:
SELECT MAP_SIZE({'a':1,'b':2,'c':3}::MAP(VARCHAR,NUMBER))
AS map_size;
Copy
+----------+
| MAP_SIZE |
|----------|
| 3 |
+----------+
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Ar... | |
snowflake_docs/system_database_refresh_progress_5_0.txt | Usage Notes ¶
* Only returns results for account administrators (users with the ACCOUNTADMIN role).
* Following is the list of phases in the order processed:
1. SECONDARY_UPLOADING_INVENTORY
2. PRIMARY_UPLOADING_METADATA
3. PRIMARY_UPLOADING_DATA
4. SECONDARY_DOWNLOADING_METADATA
5. SEC... | |
snowflake_docs/show-session-policies_6_0.txt | label-security-custom-role) .
For general information about roles and privilege grants for performing SQL
overview.html | |
snowflake_docs/show-streamlits_0_0.txt | /
| |
snowflake_docs/call-with_7_0.txt | Python ¶
For in-line procedures, use the following syntax:
WITH <name> AS PROCEDURE ( [ <arg_name> <arg_data_type> ] [ , ... ] )
RETURNS { <result_data_type> [ [ NOT ] NULL ] | TABLE ( [ <col_name> <col_data_type> [ , ... ] ] ) }
LANGUAGE PYTHON
RUNTIME_VERSION = '<python_version>'
PACKAG... | |
snowflake_docs/replication_group_refresh_progress_4_0.txt | Output ¶
The function returns the following columns:
Column Name
|
Data Type
|
Description
---|---|---
PHASE_NAME
|
TEXT
|
Name of the replication phases completed (or in progress) so far. For the list
of phases, see the usage notes.
START_TIME
|
TIMESTAMP_LTZ
|
Time when the replication phase began.
END_TIM... | |
snowflake_docs/alter-notification-integration_7_0.txt | Usage Notes ¶
* Regarding metadata:
Attention
Customers should ensure that no personal data (other than for a User object),
sensitive data, export-controlled data, or other regulated data is entered as
metadata when using the Snowflake service. For more information, see [
* Disabling or dropping the integration... | |
snowflake_docs/bitand_agg_2_0.txt | Syntax ¶
**Aggregate function**
BITAND_AGG( <expr1> )
Copy
**Window function**
> BITAND_AGG( <expr1> ) OVER ( [ PARTITION BY <expr2> ] )
| |
snowflake_docs/desc-compute-pool_2_0.txt | Syntax ¶
DESC[RIBE] COMPUTE POOL <name>
Copy
| |
snowflake_docs/timediff_3_0.txt | Arguments ¶
` _ date_or_time_part _ `
The unit of time. Must be one of the values listed in [ Supported Date and
(e.g. ` month ` ). The value can be a string literal or can be unquoted (e.g.
` 'month' ` or ` month ` ).
` _ date_or_time_expr1 _ ` , ` _ date_or_time_expr2 _ `
The values to compare. Must be a dat... | |
snowflake_docs/account-usage_11_0.txt | label-enabling-orgadmin-role-for-account) . Within that account,
anyone with privileges to the SNOWFLAKE database can access the [
To avoid unintentionally granting access to organization-level data, consider
using SNOWFLAKE database roles to grant access to views in the ACCOUNT_USAGE
schema.
role) .
For example, to ... | |
snowflake_docs/functions-regexp_3_0.txt | General Usage Notes ¶
In these notes, “subject” refers to the string to operate on and “pattern”
refers to the regular expression:
* The subject is typically a variable column, while the pattern is typically a constant, but this is not required; every argument to a regular expression function can be either a const... | |
snowflake_docs/grant-privilege_2_1.txt | bjectPrivileges ::=
-- For ALERT
{ MONITOR | OPERATE } [ , ... ]
-- For DYNAMIC TABLE
MONITOR, OPERATE, SELECT [ , ...]
-- For EVENT TABLE
{ INSERT | SELECT } [ , ... ]
-- For FILE FORMAT, FUNCTION (UDF or external function), MODEL, PROCEDURE, SECRET, or SEQUENCE
... | |
snowflake_docs/st_endpoint_4_0.txt | Returns ¶
The function returns a value of type GEOGRAPHY or GEOMETRY that contains the
last Point of the specified LineString.
| |
snowflake_docs/forecast_26_0.txt | <name>!SHOW_TRAINING_LOGS ¶
Returns logs from model training. Output is non-NULL only when ` 'ON_ERROR' =
'SKIP' ` is set in the training ` CONFIG_OBJECT ` , as otherwise the entire
model fails to train.
| |
snowflake_docs/st_makepolygon_4_0.txt | Returns ¶
The function returns a value of type GEOGRAPHY or GEOMETRY.
| |
snowflake_docs/usage_in_currency_daily_3_0.txt | Usage Notes ¶
* Latency for the view may be up to 72 hours.
* Until month close, data for a given day in a month can change to account for any end-of-month adjustments/credits, contract amendments, or Snowflake account transfers between organizations.
* Customers who signed a contract through a Snowflake res... | |
snowflake_docs/left_6_0.txt | Examples ¶
SELECT LEFT('ABCDEF', 3);
-------------------+
LEFT('ABCDEF', 3) |
-------------------+
ABC |
-------------------+
Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Arguments
3. Returns
4. Collation Details
5. E... | |
snowflake_docs/array_generate_range_3_0.txt | Arguments ¶
**Required:**
` _ start _ `
The first number in the range of numbers to return.
You must specify an expression that evaluates to an INTEGER value.
` _ stop _ `
The last number in the range. Note that this number is not included in the
range of numbers returned.
For example, ` ARRAY_GENERATE_RANGE(1, ... | |
snowflake_docs/create-hybrid-table_9_0.txt | Examples ¶
Create a hybrid table in the current database with a unique constraint on `
email ` and a secondary index on ` full_name ` :
CREATE HYBRID TABLE mytable (
customer_id INT AUTOINCREMENT PRIMARY KEY,
full_name VARCHAR(255),
email VARCHAR(255) UNIQUE,
extended_customer_info VARI... | |
snowflake_docs/search_optimization_history_3_0.txt | Usage Notes ¶
* Remember that the TABLE_ID column and the TABLE_NAME column do not refer to the same database object.
* The TABLE_ID identifies the search optimization service instance.
* The TABLE_NAME shows the table ID of the base table, which is the table on which the search optimization service is ... | |
snowflake_docs/system_clustering_depth_3_0.txt | Arguments ¶
` _ table_name _ `
Table for which you want to calculate the clustering depth.
` _ col1 _ [ , _ col2 _ ... ] `
Column(s) in the table used to calculate the clustering depth:
* For a table with no clustering key, this argument is required. If this argument is omitted, an error is returned.
* F... | |
snowflake_docs/data-types-logical_6_0.txt | Explicit Conversion ¶
Boolean values can be explicitly converted from text string and numeric values
String Conversion :
* Strings converted to TRUE: ` 'true' ` , ` 't' ` , ` 'yes' ` , ` 'y' ` , ` 'on' ` , ` '1' ` .
* Strings converted to FALSE: ` 'false' ` , ` 'f' ` , ` 'no' ` , ` 'n' ` , ` 'off' `... | |
snowflake_docs/rate_sheet_daily_3_0.txt | Usage Notes ¶
* Latency for the view may be up to 24 hours.
* Until month close, data for a given day in a month can change to account for any end-of-month adjustments/credits, mid-month contract amendments, or Snowflake account transfers from one organization to another.
* Customers who signed a contract th... | |
snowflake_docs/create-table_9_1.txt | ic data types, such as NUMBER, INT, FLOAT.
>
> Caution
>
> Snowflake uses a sequence to generate the values for an auto-incremented
> guide/querying-sequences.html | |
snowflake_docs/create-stage_19_0.txt | Copy options ( ` copyOptions ` ) ¶
You can specify one or more of the following copy options (separated by blank
spaces, commas, or new lines):
` ON_ERROR = CONTINUE | SKIP_FILE | SKIP_FILE_ _ num _ | 'SKIP_FILE_
_ num _ %' | ABORT_STATEMENT `
Use :
Data loading only
Definition :
String (constant) th... | |
snowflake_docs/array_sort_0_0.txt | /
1. JSON and XML Parsing
9. Array/Object Creation and Manipulation
43. Map Creation and Manipulation
51. Extraction
58. Conversion/Casting
82. Type Predicates
Categories:
semistructured) (Array/Object)
| |
snowflake_docs/acosh_2_0.txt | Syntax ¶
ACOSH( <real_expr> )
Copy
| |
snowflake_docs/cosh_4_0.txt | Examples ¶
>
> SELECT COSH(1.5);
>
> -------------+
> COSH(1.5) |
> -------------+
> 2.352409615 |
> -------------+
>
>
> Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Arguments
3. Examples
Language : **English** | |
snowflake_docs/show-organization-accounts_4_0.txt | Usage Notes ¶
* Only organization administrators (users with the ORGADMIN role) can execute this SQL command.
* Columns that start with the prefix ` is_ ` return either ` Y ` (yes) or ` N ` (no).
* The command does not require a running warehouse to execute.
* The command returns a maximum of 10K rec... | |
snowflake_docs/system_generate_saml_csr_6_0.txt | label-modify-saml2-security-integration) .
To generate a CSR with the CSR’s subject set to a given value, execute the
function with both the ` _ name _ ` and ` _ DN _ ` parameters. For example:
>
> select system$generate_saml_csr('my_idp', 'cn=juser, ou=dev, ou=people,
> o=eng, dc=com');
>
>
> -----------------... | |
snowflake_docs/desc-aggregation-policy_9_0.txt | Example ¶
Describe the aggregation policy:
>
> DESC AGGREGATION POLICY my_aggpolicy;
>
>
> Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Parameters
3. Access control requirements
4. Example
Language : **English** | |
snowflake_docs/st_makegeompoint_5_0.txt | Usage Notes ¶
* ST_GEOM_POINT is an alias for ST_MAKEGEOMPOINT.
| |
snowflake_docs/st_transform_6_0.txt | Usage Notes ¶
* Make sure that either the input GEOMETRY has the correct SRID set or that you specify the ` _ from_srid _ ` argument.
* Currently, the function does not support datum grid files. All transformations are performed using the static parameters of the datum without any grid file correction.
* If... | |
snowflake_docs/is_boolean_1_0.txt | IS_BOOLEAN ¶
Returns TRUE if its VARIANT argument contains a Boolean value.
See also:
| |
snowflake_docs/is-null_0_0.txt | /
reference/expressions-conditional) IS [NOT] NULL
Categories:
| |
snowflake_docs/desc-row-access-policy_8_0.txt | Example ¶
The following example describes a row access policy.
>
> DESC ROW ACCESS POLICY rap_table_employee_info;
>
>
> Copy
>
>
> +-------------------------+-------------+-------------+------+
> | name | signature | return_type | body |
> +-------------------------+------... | |
snowflake_docs/drop-compute-pool_4_0.txt | Access control requirements ¶
access-control-overview-roles) used to execute this SQL command must have the
overview.html | |
snowflake_docs/revoke-database-role-share_0_0.txt | /
1. User Management
7. Database Role Management
16. Account-level Role Management
25. Privilege Management
REVOKE DATABASE ROLE ... FROM SHARE
| |
snowflake_docs/undrop-tag_1_0.txt | UNDROP TAG ¶
This feature requires Enterprise Edition or higher. To inquire about
upgrading, please contact [ Snowflake Support
Snowflake-Lodge) .
Restores the most recent version of a tag to the system.
For details about this command and tag references, see [ Tag quotas for
tagging-quota) .
See also:
ddl)
| |
snowflake_docs/revoke-privilege_6_0.txt | label-access-control-overview-active-roles) that meets either of
access-control-overview.html | |
snowflake_docs/get_service_type_usage_4_0.txt | Returns ¶
The function returns the following columns:
Column Name
|
Data Type
|
Description
---|---|---
START_TIME
|
TIMESTAMP_TZ
|
Date and time the usage occurred.
ENTITY_ID
|
NUMBER
|
Internal identifier for the object in the budget.
NAME
|
VARCHAR
|
Name of the metered object.
CREDITS_USED
|
FLOAT
|
Nu... | |
snowflake_docs/system_classify_schema_0_0.txt | /
1. Alerts
3. Data Classification
procedures) SYSTEM$CLASSIFY_SCHEMA
| |
snowflake_docs/date_trunc_4_0.txt | Usage Notes ¶
When ` _ date_or_time_part _ ` is ` week ` (or any of its variations), the
start) session parameter. For more details, including examples, see [ Calendar
weekdays) .
* ` _ date_or_time_expr _ ` can be a date, time, or timestamp.
| |
snowflake_docs/desc-file-format_2_0.txt | Syntax ¶
DESC[RIBE] FILE FORMAT <name>
Copy
| |
snowflake_docs/st_pointn_5_0.txt | Usage Notes ¶
* If ` _ geography_or_geometry_expression _ ` is not a LineString, the function reports an error.
* If ` _ index _ ` is out of bounds (e.g. exceeds the number of Points in the LineString), the function reports an error.
| |
snowflake_docs/all_user_names_2_0.txt | Syntax ¶
ALL_USER_NAMES()
Copy
| |
snowflake_docs/uniform_0_0.txt | /
1. Random
5. Controlled Distribution
reference/functions-data-generation) UNIFORM
Categories:
| |
snowflake_docs/concat_3_0.txt | Arguments ¶
` _ exprN _ `
The input expressions must all be strings, or all be binary values.
| |
snowflake_docs/desc-dynamic-table_5_0.txt | Examples ¶
Describe the columns in the dynamic table named ` product ` :
>
> DESC DYNAMIC TABLE product;
>
>
> Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Parameters
3. Usage Notes
4. Examples
Related content
Language : **English** | |
snowflake_docs/bitmap_construct_agg_1_0.txt | BITMAP_CONSTRUCT_AGG ¶
Returns a bitmap with bits set for each distinct value in a group.
See also:
[ Using Bitmaps to Compute Distinct Values for Hierarchical Aggregations
| |
snowflake_docs/system_estimate_search_optimization_costs_4_0.txt | label-alter-table-searchoptimizationaction-search-method-target)
optimization/enabling.html | |
snowflake_docs/system_log_3_0.txt | Arguments ¶
` ' _ level _ ' `
The severity level at which to log the message. You can specify one of the
following strings:
* ‘trace’
* ‘debug’
* ‘info’
* ‘warn’
* ‘error’
* ‘fatal’
` _ message _ `
An expression that resolves to the message to log. If the message is not a
string, the function c... | |
snowflake_docs/like_1_0.txt | [ NOT ] LIKE ¶
Performs a case-sensitive comparison to determine whether a string matches or
does not match a specified pattern. For case-insensitive matching, use ILIKE
instead.
LIKE, ILIKE, and RLIKE all perform similar operations. However, RLIKE uses
POSIX ERE (Extended Regular Expression) syntax instead of the S... | |
snowflake_docs/create-api-integration_9_0.txt | For Google Cloud API Gateway ¶
` _ integration_name _ `
Specifies the name of the API integration. This name follows the rules for [
integrations in your account.
` _ google_audience _ `
This is used as the audience claim when generating the JWT (JSON Web Token) to
authenticate to the Google API Gateway. For more ... | |
snowflake_docs/activate_0_0.txt | /
1. Commands
4. Methods
| |
snowflake_docs/group-by_2_0.txt | Syntax ¶
SELECT ...
FROM ...
[ ... ]
GROUP BY groupItem [ , groupItem [ , ... ] ]
[ ... ]
Copy
SELECT ...
FROM ...
[ ... ]
GROUP BY ALL
[ ... ]
Copy
Where:
` GROUP BY groupItem [ , groupItem [ , ... ] ] `
Specifies the column aliases, positions, or e... | |
snowflake_docs/constraints-overview_2_0.txt | Supported Constraint Types ¶
Snowflake supports the following constraint types from the ANSI SQL standard:
* UNIQUE
* PRIMARY KEY
* FOREIGN KEY
* NOT NULL
A table can have multiple unique keys and foreign keys, but only one primary
key. All foreign keys must reference a corresponding primary or unique ke... | |
snowflake_docs/create-database-role_1_0.txt | CREATE DATABASE ROLE ¶
considerations.html | |
snowflake_docs/dayname_3_0.txt | Examples ¶
Get the abbreviation for the day of the week of January 1, 2015:
>
> SELECT DAYNAME(TO_DATE('2015-05-01')) AS DAY;
> +-----+
> | DAY |
> |-----|
> | Fri |
> +-----+
>
>
> Copy
Get the abbreviation for the day of the week of January 1, 2015:
>
> SELECT DAYNAME(TO_TIMESTAMP_NTZ... | |
snowflake_docs/get_query_operator_stats_8_0.txt | Output ¶
The function returns the following columns:
Column Name
|
Data Type
|
Description
---|---|---
QUERY_ID
|
VARCHAR
|
The query ID, which is an internal, system-generated identifier for the SQL
statement.
STEP_ID
|
NUMBER(38, 0)
|
Identifier of the step in the query plan.
OPERATOR_ID
|
NUMBER(38, 0)
|
... | |
snowflake_docs/desc-projection-policy_1_0.txt | DESCRIBE PROJECTION POLICY ¶
This feature requires Enterprise Edition (or higher). To inquire about
upgrading, please contact [ Snowflake Support
Snowflake-Lodge) .
Available to all accounts that are Enterprise Edition (or higher).
To inquire about upgrading, please contact [ Snowflake Support
Snowflake-Lodge) .
gui... | |
snowflake_docs/object_insert_4_0.txt | Usage Notes ¶
* The function supports JSON NULL values, but not SQL NULL values or keys:
> * If ` _ key _ ` is any string other than NULL and ` _ value _ ` is a
> JSON NULL (e.g. ` PARSE_JSON('NULL') ` ), the key-value pair is inserted
> into the returned object.
>
> * If either ` _ key _ ` or ` _ val... | |
snowflake_docs/get_service_type_usage_2_0.txt | Syntax ¶
<budget_name>!GET_SERVICE_TYPE_USAGE( SERVICE_TYPE => '<service_type>' ,
TIME_DEPART => '<time_interval>' ,
USER_TIMEZONE => '<timezone>' ,
TIME_LOWER_BOUND => <constant_expr> ,
... | |
snowflake_docs/usage_in_currency_daily_1_0.txt | USAGE_IN_CURRENCY_DAILY View ¶
The USAGE_IN_CURRENCY_DAILY view in the ORGANIZATION_USAGE schema can be used
to return the daily credit usage and usage in currency for an organization.
Important
This topic describes the upgraded version of the USAGE_IN_CURRENCY view, which
is designed to help with billing reconcilia... | |
snowflake_docs/st_aswkb_7_0.txt | Examples ¶
| |
snowflake_docs/create-replication-group_8_0.txt | __________ minute (0-59)
| |
snowflake_docs/system_reference_3_0.txt | Arguments ¶
**Required**
` _ object_type _ `
Type of the object. You can specify one of the following values:
* ` api_integration `
* ` database `
* ` external_table `
* ` function `
* ` materialized_view `
* ` pipe `
* ` procedure `
* ` schema `
* ` table `
* ` task `
* ` view `
... | |
snowflake_docs/select_12_0.txt | Examples of Selecting All Columns (SELECT *) ¶
* Selecting All Columns in the Table
* Selecting All Columns With Names That Match a Pattern
* Selecting All Columns Except One Column
* Selecting All Columns Except Two or More Columns
* Selecting All Columns and Renaming One Column
* Selecting All Col... | |
snowflake_docs/alter-database_5_0.txt | Database Replication and Failover Parameters ¶
` ENABLE REPLICATION TO ACCOUNTS _ account_identifier _ [ , _
account_identifier _ ... ] `
Promotes a local database to serve as a primary database for replication. A
primary database can be replicated in one or more accounts, allowing users in
those accounts ... | |
snowflake_docs/rlike_1_0.txt | [ NOT ] RLIKE ¶
Performs a comparison to determine whether a string matches or does not match
a specified pattern. Both inputs must be text expressions.
extended regular expressions instead of SQL LIKE pattern syntax. It supports
more complex matching conditions than LIKE.
Tip
You can use the search optimization ser... | |
snowflake_docs/drop-tag_5_0.txt | label-access-control-overview-privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
OWNERSHIP
|
Tag
|
OWNERSHIP is a special privilege on an object that is automatically granted to
the role that created the object, but can also be transferred using the [
role (or any role with the MANAGE GRANTS privilege... | |
snowflake_docs/return_2_0.txt | Syntax ¶
RETURN <expression>;
Copy
Where:
> ` _ expression _ `
>
>
> An expression that evaluates to the value to return.
| |
snowflake_docs/system_database_refresh_history_2_0.txt | Syntax ¶
SYSTEM$DATABASE_REFRESH_HISTORY( '<secondary_db_name>' )
Copy
| |
snowflake_docs/grant-role_9_0.txt | Examples ¶
GRANT ROLE analyst TO ROLE SYSADMIN;
Copy
GRANT ROLE analyst TO USER user1;
Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Parameters
3. Access control requirements
4. Usage notes
5. Examples
Language : **English** | |
snowflake_docs/create-task_19_0.txt | Examples ¶
| |
snowflake_docs/desc-view_1_0.txt | DESCRIBE VIEW ¶
Describes the columns in a view (or table).
DESCRIBE can be abbreviated to DESC.
See also:
| |
snowflake_docs/left_1_0.txt | LEFT ¶
Returns a leftmost substring of its input. LEFT(STR,N) is equivalent to
SUBSTR(STR,1,N).
See also :
| |
snowflake_docs/bind-variables_5_0.txt | label-snowscript-variables-binding) .
| |
snowflake_docs/copy-into-table_1_0.txt | COPY INTO _ <table> _ ¶
Loads data from staged files to an existing table. The files must already be
staged in one of the following locations:
* Named external stage that references an external location (Amazon S3, Google Cloud Storage, or Microsoft Azure).
You cannot access data held in archival cloud storage cla... | |
snowflake_docs/regr_syy_4_0.txt | Usage Notes ¶
* DISTINCT is not supported for this function.
* When used as a window function:
> * This function does not support:
>
>> * ORDER BY sub-clause in the OVER() clause.
>>
>> * Window frames.
| |
snowflake_docs/create-alert_10_0.txt | | | | | |
| |
snowflake_docs/data-types-semistructured_5_0.txt | label-variant-null) .
If data was loaded from JSON format and stored in VARIANT, then the following
guideline(s) apply:
* For data that is mostly regular and uses only native JSON types (strings and numbers, not timestamps), both storage and query performance for operations on relational data and data in a VARIANT co... | |
snowflake_docs/alter-security-integration-oauth-snowflake_7_0.txt | Usage notes ¶
Regarding metadata:
> Attention
>
> Customers should ensure that no personal data (other than for a User
> object), sensitive data, export-controlled data, or other regulated data is
> entered as metadata when using the Snowflake service. For more information,
| |
snowflake_docs/operators-arithmetic_10_0.txt | Unary Operations ¶
Unary arithmetic operations have the same output precision and scale as the
allows explicitly specifying the output scale.
| |
snowflake_docs/percentile_disc_4_0.txt | Returns ¶
Returns the value that is at the specified percentile.
| |
snowflake_docs/create-model_1_0.txt | CREATE MODEL ¶
Available to all Snowflake accounts.
Creates a new machine learning model in the current/specified schema or
replaces an existing model. This command is provided for use by the [ Snowpark
registry) Python API and is not intended to allow you to create models using
SQL.
Models are versioned. All models... | |
snowflake_docs/create-password-policy_2_0.txt | label-using-password-policies) , [ Managing password policies
| |
snowflake_docs/bitmap_bucket_number_2_0.txt | Syntax ¶
BITMAP_BUCKET_NUMBER( <numeric_expr> )
Copy
| |
snowflake_docs/grant-privilege-share_2_0.txt | Syntax ¶
GRANT objectPrivilege ON
{ DATABASE <name>
| SCHEMA <name>
| FUNCTION <name>
| { TABLE <name> | ALL TABLES IN SCHEMA <schema_name> }
| { ICEBERG TABLE <name> | ALL ICEBERG TABLES IN SCHEMA <schema_name> }
| TAG <name>
| VIEW <name> }... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.