id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
snowflake_docs/create-share_8_0.txt | label-access-control-securable-objects) , see [ Overview of
For more information about access control requirements for Snowflake Secure
Data Sharing specifically, see [ Enabling non-ACCOUNTADMIN roles to perform
| |
snowflake_docs/accounts_0_0.txt | /
24. Legacy Views
Schema:
| |
snowflake_docs/to_geography_1_0.txt | TO_GEOGRAPHY ¶
geospatial) .
See also:
| |
snowflake_docs/hash_6_0.txt | Collation Details ¶
No impact.
* Two strings that are identical but have different collation specifications have the same hash value. In other words, only the string, not the collation specification, affects the hash value.
* Two strings that are different, but compare equal according to a collation, might have... | |
snowflake_docs/base64_decode_binary_5_0.txt | Usage Notes ¶
* The characters in the ` _ alphabet _ ` string are positionally parsed; to specify different characters in the second or third positions in the string, you must explicitly specify all preceding characters even if you wish to use the defaults.
For example:
> * ` +$ ` specifies the default ( ` ... | |
snowflake_docs/is-distinct-from_4_1.txt | | 1 | NULL | False | Not
> | True | Selected |
> | 2 | 1 | False | Not
> | True | Selected |
> | 2 | 2 | True | Selected
... | |
snowflake_docs/info-schema_0_0.txt | /
Snowflake Information Schema
| |
snowflake_docs/st_makepoint_6_0.txt | Examples ¶
This shows a simple use of the ST_MAKEPOINT function:
>
> SELECT ST_MAKEPOINT(37.5, 45.5);
> +--------------------------+
> | ST_MAKEPOINT(37.5, 45.5) |
> |--------------------------|
> | POINT(37.5 45.5) |
> +--------------------------+
>
>
> Copy
Was this page helpful?
... | |
snowflake_docs/create-function_10_0.txt | label-procedure-function-arguments-optional) .
` RETURNS ... `
Specifies the results returned by the UDF, which determines the UDF type:
> * ` _ result_data_type _ ` : Creates a scalar UDF that returns a single
> value with the specified data type.
>
> Note
>
> For UDF handlers written in Java, Python, or Scala, t... | |
snowflake_docs/usage_in_currency_daily_legacy_2_0.txt | Columns ¶
Column Name
|
Data Type
|
Description
---|---|---
ORGANIZATION_NAME
|
VARCHAR
|
Name of the organization.
CONTRACT_NUMBER
|
VARCHAR
|
Snowflake contract number for the organization.
ACCOUNT_NAME
|
VARCHAR
|
Name of the account where the usage was consumed.
ACCOUNT_LOCATOR
|
VARCHAR
|
Locator for ... | |
snowflake_docs/json_extract_path_text_1_0.txt | JSON_EXTRACT_PATH_TEXT ¶
Parses the first argument as a JSON string and returns the value of the
element pointed to by the path in the second argument. This is equivalent to `
TO_VARCHAR(GET_PATH(PARSE_JSON(JSON), PATH)) `
| |
snowflake_docs/st_pointn_7_0.txt | GEOGRAPHY Examples ¶
The following query returns the second Point in a LineString:
ALTER SESSION SET GEOGRAPHY_OUTPUT_FORMAT='WKT';
SELECT ST_POINTN(TO_GEOGRAPHY('LINESTRING(1 1, 2 2, 3 3, 4 4)'), 2);
+--------------------------------------------------------------+
| ST_POINTN(TO_GEOGRAPHY('LINESTRIN... | |
snowflake_docs/array_to_string_2_0.txt | Syntax ¶
ARRAY_TO_STRING( <array> , <separator_string> )
Copy
| |
snowflake_docs/nvl_1_0.txt | NVL ¶
If ` _ expr1 _ ` is NULL, returns ` _ expr2 _ ` , otherwise returns ` _
expr1 _ ` .
Aliases :
| |
snowflake_docs/execute-service_9_0.txt | label-access-control-securable-objects) , see [ Overview of
| |
snowflake_docs/warehouse_metering_history_1_0.txt | WAREHOUSE_METERING_HISTORY View ¶
This Account Usage view can be used to return the hourly credit usage for a
single warehouse (or all the warehouses in your account) within the last 365
days (1 year).
| |
snowflake_docs/alter-table-column_6_1.txt | COLUMN c3 SET DEFAULT seq5.nextval
> );
>
>
> Copy
>
> This example produces the same results.
Apply a Column-level Security masking policy to a table column:
>
> -- single column
>
> ALTER TABLE empl_info MODIFY COLUMN empl_id SET MASKING POLICY
> mask_empl_id;
>
> -- multiple columns
>
>... | |
snowflake_docs/create-external-table_16_0.txt | Access control requirements ¶
access-control-overview-roles) used to execute this SQL command must have the
overview.html | |
snowflake_docs/execute-immediate_0_0.txt | /
1. User Defined Function
7. External Function
13. Stored Procedure
21. Snowflake Scripting
function) EXECUTE IMMEDIATE
| |
snowflake_docs/parameters_94_0.txt | TIMESTAMP_LTZ_OUTPUT_FORMAT ¶
Type :
Session — Can be set for Account » User » Session
Data Type :
String
Description :
Specifies the display format for the TIMESTAMP_LTZ data type. If no format is
specified, defaults to TIMESTAMP_OUTPUT_FORMAT . For more information, see [
Values :
Any valid, supported timest... | |
snowflake_docs/st_asewkt_1_0.txt | ST_ASEWKT ¶
types-geometry) , return the text (VARCHAR) representation of that value in [
on-ewkt-ewkb-handling) format.
See also:
| |
snowflake_docs/unicode_4_0.txt | Examples ¶
This example demonstrates the function behavior for single ASCII and Unicode
characters, as well as special cases, such as multi-character strings, empty
strings, and ` NULL ` values. It also demonstrates how the UNICODE and [ CHAR
SELECT column1, UNICODE(column1), CHAR(UNICODE(column1))
FROM val... | |
snowflake_docs/st_ymin_3_0.txt | Arguments ¶
` _ geography_or_geometry_expression _ `
The argument must be an expression of type GEOGRAPHY or GEOMETRY.
| |
snowflake_docs/create-failover-group_22_0.txt | Executed on Source Account ¶
Create a failover group named ` myfg ` in the source account and enable
replication of users, roles, warehouses, resource monitors, database ` db1 `
, and share ` s1 ` , and failover from the source account to the ` myaccount2
` account:
CREATE FAILOVER GROUP myfg
OBJECT_T... | |
snowflake_docs/md5_6_0.txt | Examples ¶
SELECT md5('Snowflake');
----------------------------------+
MD5('SNOWFLAKE') |
----------------------------------+
edf1439075a83a447fb8b630ddc9c8de |
----------------------------------+
Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page... | |
snowflake_docs/create-failover-group_15_0.txt | | | | | |
* * * * *
The following special characters are supported:
` * `
Wildcard. Specifies any occurrence of the field.
` L `
Stands for “last”. When used in the day-of-week field, it allows you to
specify constructs such as “the last Friday” (“5L”) of a given month. In the
day-of-month field, it specifies ... | |
snowflake_docs/system_estimate_search_optimization_costs_8_0.txt | Output ¶
The function returns a JSON object with the properties described below:
Property
|
Description
---|---
` tableName `
|
Name of the table.
` searchOptimizationEnabled `
|
` true ` if search optimization is enabled for the table or any columns in
it; ` false ` otherwise.
` costPositions `
|
Array... | |
snowflake_docs/desc-network-policy_1_0.txt | DESCRIBE NETWORK POLICY ¶
Describes the properties specified for a network policy.
DESCRIBE can be abbreviated to DESC.
See also:
| |
snowflake_docs/ltrim_5_0.txt | Collation Details ¶
Collation is supported when the optional second argument is omitted, or when
it contains only constant whitespace.
The collation specification of the returned value is the same as the collation
specification of the first argument.
| |
snowflake_docs/desc-function_3_0.txt | Parameters ¶
` _ name _ `
Specifies the identifier for the function to describe. If the identifier
contains spaces or special characters, the entire string must be enclosed in
double quotes. Identifiers enclosed in double quotes are also case-sensitive.
` _ arg_data_type _ [ , ... ] `
Specifies the data type o... | |
snowflake_docs/system_add_event_2_0.txt | Syntax ¶
SYSTEM$ADD_EVENT('<name>', '<object>');
Copy
| |
snowflake_docs/alter-function_15_0.txt | External Functions ¶
| |
snowflake_docs/data-types-structured_1_0.txt | Structured Data Types ¶
notes/preview-features) — Open
Structured types is a preview feature that is available to all accounts.
A structured type is an ARRAY, OBJECT, or MAP that contains elements or key-
types) . The following are examples of structured types:
* An ARRAY of INTEGER elements.
* An OBJECT with ... | |
snowflake_docs/packages_0_0.txt | /
| |
snowflake_docs/to_char_1_0.txt | TO_CHAR , TO_VARCHAR ¶
Converts the input expression to a string. For NULL input, the output is NULL.
These functions are synonymous.
| |
snowflake_docs/show-references_2_0.txt | Syntax ¶
SHOW REFERENCES IN APPLICATION <name>
Copy
| |
snowflake_docs/to_binary_1_0.txt | TO_BINARY ¶
Converts the input expression to a binary value. For NULL input, the output is
NULL.
See also:
| |
snowflake_docs/regr_sxy_2_0.txt | Syntax ¶
**Aggregate function**
REGR_SXY(y, x)
Copy
**Window function**
REGR_SXY(y, x) OVER ( [ PARTITION BY <expr3> ] )
Copy
| |
snowflake_docs/create-api-integration_5_0.txt | For Google Cloud API Gateway ¶
CREATE [ OR REPLACE ] API INTEGRATION [ IF NOT EXISTS ] <integration_name>
API_PROVIDER = google_api_gateway
GOOGLE_AUDIENCE = '<google_audience_claim>'
API_ALLOWED_PREFIXES = ( '<...>' )
[ API_BLOCKED_PREFIXES = ( '<...>' ) ]
ENABLED = { TRU... | |
snowflake_docs/sql-format-models_23_0.txt | Examples ¶
| |
snowflake_docs/constraints-alter_0_0.txt | /
| |
snowflake_docs/show-shares-in-failover-group_1_0.txt | SHOW SHARES IN FAILOVER GROUP ¶
Requires Business Critical Edition (or higher). To inquire about upgrading,
please contact [ Snowflake Support
Snowflake-Lodge) .
Lists shares in a failover group.
See also:
| |
snowflake_docs/h3_coverage_0_0.txt | /
1. Conversion, Input, Parsing
14. Conversion, Output, Formatting
23. Constructor
32. Accessor
44. Relationship and Measurement
61. Transformation
75. Utility
77. H3
geospatial) H3_COVERAGE
Categories:
| |
snowflake_docs/functions-all_17_0.txt | label-data-types-geometry) object.
|
|
geometry) , return the binary representation of that value in [ EWKB (extended
handling) format.
|
|
geometry) , return the text (VARCHAR) representation of that value in [ EWKT
ewkb-handling) format.
|
|
on-geojson-handling) representation of that value.
|
|
geometry) , return th... | |
snowflake_docs/grant-privilege_7_0.txt | Access control requirements ¶
Granting privileges on individual objects :
In general, a role with any one of the following sets of privileges can grant
privileges on an object to other roles:
* The global MANAGE GRANTS privilege.
Only the SECURITYADMIN and ACCOUNTADMIN system roles have the MANAGE GRANTS
privile... | |
snowflake_docs/st_makeline_0_0.txt | /
1. Conversion, Input, Parsing
14. Conversion, Output, Formatting
23. Constructor
32. Accessor
44. Relationship and Measurement
61. Transformation
75. Utility
77. H3
geospatial) ST_MAKELINE
Categories:
| |
snowflake_docs/hex_decode_binary_3_0.txt | Arguments ¶
` _ input _ `
A string expression containing only hexadecimal digits. Typically, this input
| |
snowflake_docs/array_distinct_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/all_user_names_0_0.txt | /
1. General
14. Session
29. Session Object
41. Alert
context) ALL_USER_NAMES
Categories:
| |
snowflake_docs/alter-alert_3_0.txt | Parameters ¶
` _ name _ `
Identifier for the alert to alter. If the identifier contains spaces or
special characters, the entire string must be enclosed in double quotes.
Identifiers enclosed in double quotes are also case-sensitive.
` { RESUME | SUSPEND } `
Specifies the action to perform on the alert:
* ` ... | |
snowflake_docs/create-network-policy_1_0.txt | CREATE NETWORK POLICY ¶
Creates a network policy or replaces an existing network policy.
Note
Only security administrators (i.e. users with the SECURITYADMIN role) or
higher or a role with the global CREATE NETWORK POLICY privilege can create
network policies.
See also:
| |
snowflake_docs/to_date_3_0.txt | Arguments ¶
**Required:**
One of:
> ` _ timestamp_expr _ `
>
>
> A TIMESTAMP expression. The DATE portion of the TIMESTAMP is extracted.
>
> ` _ string_expr _ `
>
>
> String from which to extract a date, for example ‘2019-01-31’.
>
> ` ' _ integer _ ' `
>
>
> An expression that evaluates to a string con... | |
snowflake_docs/cume_dist_4_0.txt | Returns ¶
The data type of the returned value is DOUBLE.
| |
snowflake_docs/array_cat_4_0.txt | Returns ¶
An ARRAY containing the elements from ` _ array2 _ ` appended after the
elements of ` _ array1 _ ` .
| |
snowflake_docs/data_classification_latest_1_0.txt | DATA_CLASSIFICATION_LATEST View ¶
This topic is in preview and is available to all accounts that are Enterprise
Edition (or higher).
This Account Usage view displays one row for the most recent result of a
classified table for each classified table. Each row corresponds to a
different table.
| |
snowflake_docs/desc-network-rule_7_0.txt | label-security-custom-role) .
For general information about roles and privilege grants for performing SQL
overview.html | |
snowflake_docs/asof-join_0_0.txt | /
Categories:
| |
snowflake_docs/st_azimuth_8_0.txt | GEOMETRY Examples ¶
The following example returns the azimuth in radians for an origin Point (0,
1) and a target Point (0, 0):
SELECT ST_AZIMUTH(
TO_GEOMETRY('POINT(0 1)', TO_GEOMETRY('POINT(0 0)')
);
+------------------------------------------------------------------+
| ST_AZIMUTH(TO_GEOMETR... | |
snowflake_docs/grant-privilege-share_1_0.txt | GRANT _ <privilege> _ … TO SHARE ¶
Grants access privileges for databases and other supported database objects
(schemas, UDFs, tables, and views) to a share. Granting privileges on these
objects effectively adds the objects to the share, which can then be shared
with one or more consumer accounts.
sharing-provider) ... | |
snowflake_docs/alter-api-integration_3_0.txt | Parameters ¶
` _ name _ `
The identifier of the integration to alter. If the identifier contains spaces
or special characters, the entire string must be enclosed in double quotes.
Identifiers enclosed in double quotes are also case-sensitive.
` SET ... `
Specifies one or more properties/parameters to set for API ... | |
snowflake_docs/drop-session-policy_0_0.txt | /
1. Authentication Policy
7. Network Policy
13. Network Rule
19. Packages Policy
25. Password Policy
31. Session Policy
37. Secret
POLICY
| |
snowflake_docs/boolxor_agg_1_0.txt | BOOLXOR_AGG ¶
Returns TRUE if exactly one Boolean record in the group evaluates to TRUE.
If all records in the group are NULL, or if the group is empty, the function
returns NULL.
See also:
| |
snowflake_docs/system_abort_transaction_4_0.txt | Usage Notes ¶
* This function is supported for explicit/multi-statement transactions only. Autocommit transactions can be aborted by aborting the associated job.
* Note that DDL statements, including “CREATE TABLE AS SELECT …” will implicitly commit an open transaction. After the implicit commit finishes, the p... | |
snowflake_docs/nvl_6_0.txt | Collation Details ¶
| |
snowflake_docs/table_privileges_2_0.txt | Columns ¶
Column Name
|
Data Type
|
Description
---|---|---
GRANTOR
|
TEXT
|
Role who granted the table privilege
GRANTEE
|
TEXT
|
Role to whom the table privilege is granted
TABLE_CATALOG
|
TEXT
|
Database containing the table on which the privilege is granted
TABLE_SCHEMA
|
TEXT
|
Schema containing the t... | |
snowflake_docs/md5_5_0.txt | Usage Notes ¶
* Although the MD5* functions were originally developed as cryptographic functions, they are now obsolete for cryptography and should not be used for that purpose. They can be used for other purposes (for example, as “checksum” functions to detect accidental data corruption).
If you need to encrypt ... | |
snowflake_docs/regexp_count_6_0.txt | Examples ¶
The following example counts occurrences of the word ` was ` . Matching
begins at the 1st character in the string:
>
> select regexp_count('It was the best of times, it was the worst of
> times', '\\bwas\\b', 1) as "result" from dual;
>
> +--------+
> | result |
> |--------|
> | ... | |
snowflake_docs/invoker_role_1_0.txt | INVOKER_ROLE ¶
Returns the name of the account-level role of the object executing the query
or NULL if the name of the role is a database role.
See also:
advanced)
| |
snowflake_docs/referential_constraints_2_0.txt | Columns ¶
Column Name
|
Data Type
|
Description
---|---|---
CONSTRAINT_CATALOG_ID
|
NUMBER
|
Internal/system-generated identifier for the database of the constraint.
CONSTRAINT_CATALOG
|
TEXT
|
Database that the constraint belongs to
CONSTRAINT_SCHEMA_ID
|
NUMBER
|
Internal/system-generated identifier for th... | |
snowflake_docs/desc-share_4_0.txt | Usage Notes ¶
* Only the ACCOUNTADMIN role has the privileges to describe a share. Executing this command with any role other than ACCOUNTADMIN returns an error.
| |
snowflake_docs/execute-immediate_8_0.txt | Examples ¶
| |
snowflake_docs/create-procedure_29_0.txt | label-creating-using-external-access-integration-using-
udf) .
USAGE
|
Schema
|
Required on schemas containing secrets, if any, specified by the SECRETS
parameter. For more information, see [ Creating a secret to represent
external-network-access.html | |
snowflake_docs/strtok_4_0.txt | Returns ¶
The data type of the returned value is VARCHAR.
| |
snowflake_docs/continue_2_0.txt | label-snowscript-loop-continue) .
Note
construct is valid only within a [ Snowflake Scripting block
See also :
| |
snowflake_docs/get_notification_email_1_0.txt | <budget_name>!GET_NOTIFICATION_EMAIL ¶
guide/intro-editions) .
This feature is currently not available for [ Trial Accounts
View the email address(es) configured to receive budget notifications for a [
See also:
[ <budget_name>!GET_NOTIFICATION_INTEGRATION_NAME
| |
snowflake_docs/st_npoints_9_0.txt | GEOMETRY Examples ¶
The following example demonstrates how to use the ST_NPOINTS function.
>
> CREATE OR REPLACE TABLE geometry_shapes (g GEOMETRY);
> INSERT INTO geometry_shapes VALUES
> ('POINT(66 12)'),
> ('MULTIPOINT((45 21), (12 54))'),
> ('LINESTRING(40 60, 50 50, 60 40)'),
> ... | |
snowflake_docs/timestampdiff_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/system_get_gcp_kms_cmk_grant_access_cmd_0_0.txt | /
1. Control
29. Information
90. Query Information
SYSTEM$GET_GCP_KMS_CMK_GRANT_ACCESS_CMD
Categories:
| |
snowflake_docs/system_get_service_status_6_0.txt | Usage notes ¶
* The current role must have the MONITOR privilege on the service to get the status information.
| |
snowflake_docs/listing-access-history_16_0.txt | Access Count By Column ¶
For a given object (table, view), how many times each column was accessed.
select
los.value:"objectDomain"::string as object_type,
los.value:"objectName"::string as object_name,
cols.value:"columnName"::string as column_name,
count(distinct lah.query_token) as n_q... | |
snowflake_docs/desc-user_3_0.txt | Parameters ¶
` _ name _ `
Specifies the identifier for the user to describe. If the identifier contains
spaces or special characters, the entire string must be enclosed in double
quotes. Identifiers enclosed in double quotes are also case-sensitive.
| |
snowflake_docs/top_insights_6_0.txt | Example ¶
contribution-explorer.html | |
snowflake_docs/functions-all_31_1.txt | om JSON to formatted text.
|
|
Given the text of a SQL statement, this function generates the EXPLAIN plan in
JSON.
|
[ SYSTEM$EXTERNAL_TABLE_PIPE_STATUS
|
Retrieves a JSON representation of the current refresh status for the internal
(hidden) pipe object associated with an external table.
|
|
Sets the OAUTH_REFRESH_TO... | |
snowflake_docs/build_stage_file_url_3_0.txt | Arguments ¶
` stage_name `
Name of the internal or external stage where the file is stored.
Note
If the stage name includes spaces or special characters, it must be enclosed
in single quotes (e.g. ` '@"my stage"' ` for a stage named ` "my stage" `
).
` relative_file_path `
Path and filename of the file relativ... | |
snowflake_docs/array_min_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/show-password-policies_3_0.txt | Syntax ¶
SHOW PASSWORD POLICIES [ LIKE '<pattern>' ]
[ IN
{
ACCOUNT |
DATABASE |
DATABASE <database_name> |
... | |
snowflake_docs/decode_4_0.txt | Usage Notes ¶
| |
snowflake_docs/show-services_0_0.txt | /
1. IMAGE REGISTRY AND REPOSITORY
5. COMPUTE POOL
11. SERVICE
18. JOB
container-services) SHOW SERVICES
| |
snowflake_docs/cume_dist_2_0.txt | Syntax ¶
CUME_DIST() OVER ( [ PARTITION BY <partition_expr> ] ORDER BY <order_expr> [ ASC | DESC ] )
Copy
| |
snowflake_docs/tags_5_0.txt | Examples ¶
Return the tag references for your Snowflake account:
>
> select * from snowflake.account_usage.tags
> order by tag_name;
>
>
> Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Columns
2. Usage notes
3. Examples
Language : **English** | |
snowflake_docs/undrop-table_4_0.txt | Usage Notes ¶
* Restoring tables is only supported in the current schema or current database, even if the table name is fully-qualified.
* If a table with the same name already exists, an error is returned.
| |
snowflake_docs/delete_category_7_0.txt | label-access-control-overview-roles) used to execute this SQL
guide/security-access-control-overview.html | |
snowflake_docs/desc-catalog-integration_5_0.txt | Access control requirements ¶
access-control-overview-roles) used to execute this SQL command must have the
overview.html | |
snowflake_docs/show-stages_5_0.txt | Output ¶
The command output provides stage properties and metadata in the following
columns:
Column
|
Description
---|---
created_on
|
Date and time when the stage was created.
name
|
Name of the stage.
database_name
|
Database in which the stage is stored.
schema_name
|
Schema in which the stage is stored... | |
snowflake_docs/h3_coverage_5_0.txt | Returns ¶
Returns an ARRAY of INTEGER values for the IDs of the minimal set of H3 cells
that have completely cover the specified input shape.
| |
snowflake_docs/create-role_2_0.txt | Syntax ¶
CREATE [ OR REPLACE ] ROLE [ IF NOT EXISTS ] <name>
[ COMMENT = '<string_literal>' ]
[ [ WITH ] TAG ( <tag_name> = '<tag_value>' [ , <tag_name> = '<tag_value>' , ... ] ) ]
Copy
| |
snowflake_docs/alter-service_2_0.txt | Syntax ¶
ALTER SERVICE [ IF EXISTS ] <name> { SUSPEND | RESUME }
ALTER SERVICE [ IF EXISTS ] <name>
{
FROM @<stage>
SPECIFICATION_FILE = '<yaml_file_stage_path>'
|
FROM SPECIFICATION <specification_text>
}
ALTER SERVICE [ IF EXISTS ] <name> SET [ MIN_INSTANCES ... | |
snowflake_docs/map_delete_6_0.txt | Examples ¶
Remove two key-value pairs from a map containing three key-value pairs:
SELECT MAP_DELETE({'a':1,'b':2,'c':3}::MAP(VARCHAR,NUMBER),'a','b');
Copy
+--------------------------------------------------------------+
| MAP_DELETE({'A':1,'B':2,'C':3}::MAP(VARCHAR,NUMBER),'A','B') |
|-------------... | |
snowflake_docs/cbrt_2_0.txt | Syntax ¶
CBRT(expr)
Copy
| |
snowflake_docs/if_1_0.txt | IF (Snowflake Scripting) ¶
An ` IF ` statement provides a way to execute a set of statements if a
condition is met.
For more information on branching constructs, see [ Working with Branching
Note
construct is valid only within a [ Snowflake Scripting block
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.