id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
snowflake_docs/st_geometryfromwkb_3_0.txt | label-data-types-geometry) .
Aliases:
ST_GEOMFROMWKB , ST_GEOMETRYFROMEWKB , ST_GEOMFROMEWKB
See also:
| |
snowflake_docs/hll_combine_3_0.txt | Arguments ¶
` _ state _ `
An expression that contains state information generated by a call to [
| |
snowflake_docs/create-stream_12_0.txt | Examples ¶
| |
snowflake_docs/sum_0_0.txt | /
1. General
26. Bitwise
30. Boolean
34. Hash
36. Semi-Structured
39. Linear Regression
49. Statistics and Probability
52. Count Distinct Values
60. Cardinality Estimation
68. Similarity Estimation
73... | |
snowflake_docs/roles_4_0.txt | Internal Snowflake Role for Snowsight ¶
account, Snowflake creates the internal APPADMIN and WORKSHEETS_APP_RL roles
to support the web interface. These roles are used to cache query results in
an internal stage in your account. This cached data is encrypted and protected
by the key hierarchy for the account. The li... | |
snowflake_docs/alter-packages-policy_2_0.txt | Syntax ¶
ALTER PACKAGES POLICY [ IF EXISTS ] <name> SET
[ ALLOWLIST = ( [ '<packageSpec>' ] [ , '<packageSpec>' ... ] ) ]
[ BLOCKLIST = ( [ '<packageSpec>' ] [ , '<packageSpec>' ... ] ) ]
[ ADDITIONAL_CREATION_BLOCKLIST = ( [ '<packageSpec>' ] [ , '<packageSpec>' ... ] ) ]
[ COMMENT = '<s... | |
snowflake_docs/create-secret_4_0.txt | OAuth with authorization code grant flow required parameters ¶
` _ name _ `
String that specifies the identifier (i.e. name) for the secret, must be
unique in your schema.
In addition, the identifier must start with an alphabetic character and cannot
contain spaces or special characters unless the entire identifier... | |
snowflake_docs/create-sequence_8_0.txt | label-security-custom-role) .
For general information about roles and privilege grants for performing SQL
overview.html | |
snowflake_docs/select_19_0.txt | Selecting All Columns, Excluding a Column, and Renaming Multiple Columns
¶
This example shows how to select all columns in ` employee_table ` , exclude
the ` first_name ` column, and rename the ` department_id ` and `
employee_id ` columns:
SELECT * EXCLUDE first_name RENAME (department_id AS department, empl... | |
snowflake_docs/show-hybrid-tables_5_0.txt | Usage notes ¶
* If an account (or database or schema) has a large number of hybrid tables, then searching the entire account (or database or schema) can consume a significant amount of compute resources.
* The command does not require a running warehouse to execute.
* The value for ` LIMIT _ rows _ ` canno... | |
snowflake_docs/drop-tag_3_0.txt | Parameters ¶
` _ name _ `
Identifier for the tag.
The identifier value must start with an alphabetic character and cannot
contain spaces or special characters unless the entire identifier string is
enclosed in double quotes (e.g. ` "My object" ` ). Identifiers enclosed in
double quotes are also case-sensitive.
| |
snowflake_docs/create-service_2_0.txt | Syntax ¶
CREATE SERVICE [ IF NOT EXISTS ] <name>
IN COMPUTE POOL <compute_pool_name>
{
FROM @<stage>
SPECIFICATION_FILE = '<yaml_file_stage_path>'
|
FROM SPECIFICATION <specification_text>
}
[ EXTERNAL_ACCESS_INTEGRATIONS = ( <EAI_name> [ , ... ] ) ]
... | |
snowflake_docs/object_pick_1_0.txt | OBJECT_PICK ¶
key-value pairs from an existing object.
To identify the key-value pairs to include in the new object, pass in the keys
as arguments, or pass in an array containing the keys.
If a specified key is not present in the input object, the key is ignored.
| |
snowflake_docs/is_null_value_1_0.txt | IS_NULL_VALUE ¶
Returns true if its VARIANT argument is a JSON null value.
Important
The JSON null value is distinct from the SQL NULL value.
This function returns true only for JSON null values, not SQL NULL values. The
difference is shown in the first and third rows in the example below.
A missing JSON sub-column ... | |
snowflake_docs/drop-alert_7_0.txt | label-access-control-securable-objects) , see [ Overview of
| |
snowflake_docs/functions-analytic_23_0.txt | Sliding Window Frame Examples ¶
Create and populate a table with values:
CREATE TABLE example_sliding
(p INT, o INT, i INT, r INT, s VARCHAR(100));
INSERT INTO example_sliding VALUES
(100,1,1,70,'seventy'),(100,2,2,30, 'thirty'),(100,3,3,40,'forty'),(100,4,NULL,90,'ninety'),
(100,5,5,50,'fi... | |
snowflake_docs/copy-into-location_5_0.txt | Optional parameters ¶
` PARTITION BY _ expr _ `
Specifies an expression used to partition the unloaded table rows into
separate files. Supports any SQL expression that evaluates to a string.
The unload operation splits the table rows based on the partition expression
and determines the number of files to create b... | |
snowflake_docs/md5_number_upper64_0_0.txt | /
1. General Manipulation
34. Case Conversion
38. Regular Expression Matching
48. Other Matching/Comparison
66. Compression/Decompression
70. Encoding/Decoding
81. Cryptographic/Checksum
93. Hash (Non-cryptographic)
96. Co... | |
snowflake_docs/transactions_35_0.txt | Using Error Handling with Transactions in Stored Procedures ¶
The following code shows simple error handling for a transaction in a stored
procedure. If the parameter value ‘fail’ is passed, the stored procedure tries
to delete from two tables that exist and one table that doesn’t exist, and the
stored procedure cat... | |
snowflake_docs/create-compute-pool_7_0.txt | label-access-control-overview-privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
CREATE COMPUTE POOL
|
Account
|
For instructions on creating a custom role with a specified set of privileges,
configure.html | |
snowflake_docs/show-views_3_0.txt | Parameters ¶
` TERSE `
Optionally returns only a subset of the output columns:
* ` created_on `
* ` name `
* ` kind `
* ` database_name `
* ` schema_name `
Default: No value (all columns are included in the output)
` LIKE ' _ pattern _ ' `
Optionally filters the command output by object name. The... | |
snowflake_docs/st_geompointfromgeohash_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_GEOMPOINTFROMGEOHASH
Categories:
| |
snowflake_docs/get_spending_history_2_0.txt | Syntax ¶
<budget_name>!GET_SPENDING_HISTORY( [ TIME_LOWER_BOUND => <constant_expr> ,
TIME_UPPER_BOUND => <constant_expr> ] )
Copy
| |
snowflake_docs/account-usage_18_0.txt | Examples ¶
The following examples show some typical/useful queries using the views in the
ACCOUNT_USAGE schema.
Note
* These examples assume the SNOWFLAKE database and the ACCOUNT_USAGE schema are in use for the current session. The examples also assume the ACCOUNTADMIN role (or a role granted IMPORTED PRIVILEGES... | |
snowflake_docs/create-api-integration_2_0.txt | Syntax ¶
The syntax is different for each cloud platform.
| |
snowflake_docs/round_5_0.txt | Usage Notes ¶
* You must either specify all arguments by name or by position. You cannot specify some of the arguments by name and other arguments by position.
When specifying an argument by name, you cannot use double quotes around the
argument name.
* If ` _ scale_expr _ ` is negative, it specifies the numbe... | |
snowflake_docs/system_revoke_privatelink_1_0.txt | SYSTEM$REVOKE_PRIVATELINK ¶
Disables private connectivity to the Snowflake service for the current
account.
See also:
SYSTEM$GET_PRIVATELINK_AUTHORIZED_ENDPOINTS
| |
snowflake_docs/hex_decode_string_1_0.txt | HEX_DECODE_STRING ¶
Decodes a hex-encoded string to a string.
See also:
| |
snowflake_docs/desc_2_0.txt | Syntax ¶
DESC[RIBE] <object_type> <object_name>
Copy
For specific syntax, usage notes, and examples, see:
**Session/Query Operations:**
>
>
>
**Account Objects:**
>
>
>
>
>
>
>
>
>
>
>
>
**Database Objects:**
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
| |
snowflake_docs/alter-security-integration-api-auth_0_0.txt | /
1. General
7. API
10. Catalog
15. External access
18. Notification
21. Security
25. Storage
External API Authentication
| |
snowflake_docs/create-budget_3_0.txt | Parameters ¶
` _ name _ ` :
Specifies the identifier for the budget. The identifier must start with an
alphabetic character and cannot contain spaces or special characters unless
the identifier string is enclosed in double quotes (e.g. ` "My object" ` ).
Identifiers enclosed in double quotes are also case-sensiti... | |
snowflake_docs/alter-table_12_0.txt | label-traversing-semistructured-data) (e.g.
` my_column:my_field_name.my_nested_field_name ` or `
my_column['my_field_name']['my_nested_field_name'] ` ). You may also use a
colon-delimited path to the field (e.g. `
my_column:my_field_name:my_nested_field_name ` ).
When you specify a VARIANT field, the configuration ... | |
snowflake_docs/desc-alert_5_0.txt | label-access-control-overview-privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
MONITOR, OPERATE, or OWNERSHIP
|
Alert
|
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 ... | |
snowflake_docs/system_get_snowflake_platform_info_3_0.txt | Arguments ¶
None.
| |
snowflake_docs/show-row-access-policies_1_0.txt | SHOW ROW ACCESS POLICIES ¶
This feature requires Enterprise Edition (or higher). To inquire about
upgrading, please contact [ Snowflake Support
Snowflake-Lodge) .
Lists the row access policies for which you have access privileges. Returns
information that includes the creation date, database and schema names, owner,... | |
snowflake_docs/create-external-access-integration_3_0.txt | Required Parameters ¶
` _ name _ `
Identifier for the external access integration.
The identifier value must start with an alphabetic character and cannot
contain spaces or special characters unless the entire identifier string is
enclosed in double quotes (e.g. ` "My object" ` ). Identifiers enclosed in
double q... | |
snowflake_docs/desc-dynamic-table_4_0.txt | Usage Notes ¶
* To DESCRIBE a dynamic table, you must be using a role that has MONITOR privilege on the table.
| |
snowflake_docs/st_asewkb_7_0.txt | GEOGRAPHY Examples ¶
The following example demonstrates the ST_ASEWKB function. For the EWKB
output, it is assumed that the [ BINARY_OUTPUT_FORMAT
(the default value for the parameter).
>
> create table geospatial_table (id INTEGER, g GEOGRAPHY);
> insert into geospatial_table values
> (1, 'POINT(-12... | |
snowflake_docs/alter-aggregation-policy_5_0.txt | Access control requirements ¶
access-control-overview-roles) used to execute this SQL command must have the
overview.html | |
snowflake_docs/get_relative_path_5_0.txt | Usage notes ¶
* This SQL function returns a value for any role that has the following privilege on the stage:
External stage :
USAGE
Internal stage :
READ
* If files downloaded from an internal stage are corrupted, verify with the stage creator that ` ENCRYPTION = (TYPE = 'SNOWFLAKE_SSE') ` is set for th... | |
snowflake_docs/tag_references_0_0.txt | /
1. Data Loading
4. Data Generation
6. Data Conversion
9. ML-Powered Analysis
11. Object Modeling
13. Semi-Structured Queries
15. Query Results
17. Query Profile
19. User Login
22. Queries
26. Wareho... | |
snowflake_docs/alter-replication-group_7_0.txt | label-replication-stored-procedures-udfs) .
>>
>> Note
>>
>> External access is not supported in the Gov region.
>>
>> NOTIFICATION INTEGRATIONS :
>>
>>
>> Specifies notification integrations.
>>
>> Only some types of notification integrations are replicated. For details,
intro.html | |
snowflake_docs/st_geometryfromwkt_4_0.txt | Arguments ¶
**Required:**
` _ varchar_expression _ `
The argument must be a string expression in WKT or EWKT that represents a
valid geospatial object.
**Optional:**
` _ srid _ `
The integer value of the SRID to use.
` _ allow_invalid _ `
If TRUE, specifies that the function should return a GEOGRAPHY or GEOMETRY
... | |
snowflake_docs/grants_to_roles_0_0.txt | /
Schema:
| |
snowflake_docs/desc-integration_2_0.txt | Syntax ¶
DESC[RIBE] [ { API | CATALOG | EXTERNAL ACCESS | NOTIFICATION | SECURITY | STORAGE } ] INTEGRATION <name>
Copy
| |
snowflake_docs/to_json_3_0.txt | Arguments ¶
` _ expr _ `
An expression of type VARIANT that holds valid JSON information.
| |
snowflake_docs/sql-dml_1_0.txt | DML (Data Manipulation Language) Commands ¶
This topic provides links to all the DML commands, grouped by category.
| |
snowflake_docs/try_decrypt_raw_3_1.txt | nsitive.
The ` padding ` specifies how to pad messages whose length is not a multiple
of the block size. Padding is applicable only for ECB and CBC modes; padding
is ignored for other modes. The possible values for padding are:
> * ` 'PKCS' ` : Uses PKCS5 for block padding.
>
> * ` 'NONE' ` : No padding. The use... | |
snowflake_docs/drop-connection_0_0.txt | /
4. Replication
11. Failover/Failback
18. Client Redirect
DROP CONNECTION
| |
snowflake_docs/desc-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/conditional_true_event_4_0.txt | Usage Notes ¶
* The conditional expression ` _ expr1 _ ` can contain the rank-related functions LAG and LEAD, which allow us to build more expressive windows. If used, these functions have to use the same OVER specification as the CONDITIONAL_TRUE_EVENT.
| |
snowflake_docs/functions-geospatial_1_0.txt | Geospatial Functions ¶
geospatial.html | |
snowflake_docs/check_xml_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) (Parsing)
| |
snowflake_docs/create-external-table_20_0.txt | Usage notes ¶
* External tables support external (i.e. S3, Azure, or GCS) stages only; internal (i.e. Snowflake) stages are not supported.
You cannot access data held in archival cloud storage classes that requires
restoration before it can be retrieved. These archival storage classes
include, for example, the Am... | |
snowflake_docs/system_revoke_privatelink_4_0.txt | Usage notes ¶
* Only account administrators (i.e. users with the ACCOUNTADMIN role) can execute this function.
* This function can be used with Snowflake accounts on AWS or Azure; Google Cloud Platform (GCP) is not currently supported.
| |
snowflake_docs/array_sort_6_0.txt | Usage Notes ¶
* If any of the input arguments is NULL, the function returns NULL.
* This function is not guaranteed to provide a stable sort when the ARRAY contains either of the following:
* Objects containing two different numeric or timestamp types.
| |
snowflake_docs/h3_coverage_strings_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_STRINGS
Categories:
| |
snowflake_docs/network_rule_references_3_0.txt | Arguments ¶
` NETWORK_RULE_NAME => ' _ string _ ' `
.
* The entire network rule name must be enclosed in single quotes.
* If the network rule name is case-sensitive or includes any special characters or spaces, double quotes are required to process the case/characters. The double quotes must be enclosed wit... | |
snowflake_docs/functions-data-generation_1_0.txt | Data Generation Functions ¶
Data Generation functions allow you to generate data. Snowflake supports two
types of data generation functions:
* Random, which can be useful for testing purposes.
These functions produce a random value each time. Each value is independent of
the other values generated by other calls ... | |
snowflake_docs/try_to_decimal_3_0.txt | Arguments ¶
**Required:**
` _ string_expr _ `
An expression of type VARCHAR.
**Optional:**
` _ format _ `
The SQL format model used to parse the input ` _ expr _ ` and return. For
` _ precision _ `
The maximal number of decimal digits in the resulting number; from 1 to 38. In
Snowflake, precision is not used for... | |
snowflake_docs/use-warehouse_3_0.txt | Parameters ¶
` _ name _ `
Specifies the identifier for the warehouse to use for the session. 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.
Was this page helpful?
Yes No
Inc. All Rights Re... | |
snowflake_docs/alter-table_20_1.txt | e :
Data loading only
Definition :
String that specifies whether to load semi-structured data into columns in the
target table that match corresponding columns represented in the data.
This copy option is supported for the following data formats:
* JSON
* Avro
* ORC
* Parquet
For a column to match, the fo... | |
snowflake_docs/system_link_account_objects_by_name_4_0.txt | Arguments ¶
` _ group_name _ `
Specifies the identifier for the replication or failover group.
| |
snowflake_docs/identifiers-syntax_3_0.txt | Double-quoted identifiers ¶
Delimited identifiers (i.e. identifiers enclosed in double quotes) are case-
sensitive and can start with and contain any valid characters, including:
* Numbers
* Special characters ( ` . ` , ` ' ` , ` ! ` , ` @ ` , ` | |
snowflake_docs/alter-replication-group_14_0.txt | | | | | |
| |
snowflake_docs/tag_references_all_columns_0_0.txt | /
1. Data Loading
4. Data Generation
6. Data Conversion
9. ML-Powered Analysis
11. Object Modeling
13. Semi-Structured Queries
15. Query Results
17. Query Profile
19. User Login
22. Queries
26. Wareho... | |
snowflake_docs/create-task_12_0.txt | | | | | |
* * * * *
Copy
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 speci... | |
snowflake_docs/create-database-role_4_0.txt | Required parameters ¶
` _ name _ `
Specifies the identifier (i.e. name) for the database role; must be unique in
the database in which the role is created.
The identifier must start with an alphabetic character and cannot contain
spaces or special characters unless the entire identifier string is enclosed
in double... | |
snowflake_docs/create-table-constraint_4_0.txt | Out-of-Line Unique / Primary / Foreign Key ¶
CREATE TABLE <name> ... ( <col1_name> <col1_type>
[ , <col2_name> <col2_type> , ... ]
[ , { outoflineUniquePK | outoflineFK } ]
[ , { outoflineUniquePK | outoflineFK } ]
... | |
snowflake_docs/functions-aggregation_1_0.txt | Aggregate Functions ¶
Aggregate functions operate on values across rows to perform mathematical
calculations such as sum, average, counting, minimum/maximum values, standard
deviation, and estimation, as well as some non-mathematical operations.
An aggregate function takes multiple rows (actually, zero, one, or more... | |
snowflake_docs/show-release-directives_0_0.txt | /
1. APPLICATION
7. APPLICATION PACKAGE
12. APPLICATION ROLE
19. Additional Commands
SHOW RELEASE DIRECTIVES
| |
snowflake_docs/mod_3_0.txt | Arguments ¶
` _ expr1 _ `
A numeric expression.
` _ expr2 _ `
A numeric expression.
| |
snowflake_docs/strtok_6_0.txt | Examples ¶
Here is a simple example of using ` STRTOK ` :
>
> SELECT STRTOK('a.b.c', '.', 1);
> +-------------------------+
> | STRTOK('A.B.C', '.', 1) |
> |-------------------------|
> | a |
> +-------------------------+
>
>
> Copy
This example shows how to use multi... | |
snowflake_docs/max_2_0.txt | Syntax ¶
**Aggregate function**
MAX( <expr> )
Copy
**Window function**
MAX( <expr> ) [ OVER ( [ PARTITION BY <expr1> ] [ ORDER BY <expr2> [ <window_frame> ] ] ) ]
Copy
For details about ` _ window_frame _ ` syntax, see [ Window Frame Syntax and
| |
snowflake_docs/forecast_4_0.txt | Parameters ¶
` _ name _ `
Specifies the identifier for the model; must be unique for the schema in which
the model is created.
If the model identifier is not fully qualified (in the form of ` _ db_name _
. _ schema_name _ . _ name _ ` or ` _ schema_name _ . _ name _ ` ), the
command creates the model in the... | |
snowflake_docs/current_version_5_0.txt | Usage Notes ¶
| |
snowflake_docs/drop-network-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/create-sequence_7_0.txt | label-access-control-overview-privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
CREATE SEQUENCE
|
Schema
|
Note that operating on any object in a schema also requires the USAGE
privilege on the parent database and schema.
For instructions on creating a custom role with a specified set of privileges... | |
snowflake_docs/unicode_1_0.txt | UNICODE ¶
Returns the Unicode code point for the first Unicode character in a string. If
the string is empty, a value of ` 0 ` is returned.
See also:
| |
snowflake_docs/decrypt_6_0.txt | Examples ¶
The code below shows a simple example of encryption and decryption:
>
> SET passphrase='poiuqewjlkfsd';
>
>
> Copy
>
>
> SELECT
> TO_VARCHAR(
> DECRYPT(
> ENCRYPT('Patient tested positive for COVID-19',
> $passphrase),
> $passphrase),
> ... | |
snowflake_docs/create-external-volume_3_0.txt | Required parameters ¶
` _ storage_location_name _ `
String that specifies the identifier (the name) for the external volume; must
be unique in your account.
The identifier must start with an alphabetic character and cannot contain
spaces or special characters unless the entire identifier string is enclosed
in doubl... | |
snowflake_docs/create-external-table_26_0.txt | External table created with detected column definitions ¶
Create an external table where the column definitions are derived from a set
of staged files that contain Avro, Parquet, or ORC data.
Note that the ` mystage ` stage and ` my_parquet_format ` file format
referenced in the statement must already exist. A set... | |
snowflake_docs/alter-table_6_0.txt | External Table Column Actions ( ` extTableColumnAction ` ) ¶
For all other external table modifications, see [ ALTER EXTERNAL TABLE
` ADD [ COLUMN ] [ IF NOT EXISTS ] <col_name> <col_type> AS (
<expr> ) [, ...] `
Adds a new column to the external table.
If you are not sure if the column already exists,... | |
snowflake_docs/delete_1_0.txt | DELETE ¶
Remove rows from a table. You can use a WHERE clause to specify which rows
should be removed. If you need to use a subquery(s) or additional table(s) to
identify the rows to be removed, specify the subquery(s) or table(s) in a
USING clause.
Important
the external file load history. If you delete rows loaded... | |
snowflake_docs/create-database_12_0.txt | Database Replication Usage Notes ¶
Note
guide/account-replication-intro) to replicate databases. [ Replication and
replication-and-failover-groups) enable replication of multiple databases and
other account objects with point-in-time consistency for objects in the group.
replication-intro.html | |
snowflake_docs/show-aggregation-policies_3_0.txt | Syntax ¶
SHOW AGGREGATION POLICIES [ LIKE '<pattern>' ]
[ IN
{
ACCOUNT |
DATABASE [ <database_name> ] |
SCHEMA [ <sche... | |
snowflake_docs/data-types-numeric_4_0.txt | DECIMAL , DEC , NUMERIC ¶
Synonymous with NUMBER.
| |
snowflake_docs/decompress_binary_7_0.txt | Examples ¶
This shows a simple example of decompressing ` BINARY ` data that contains a
compressed value.
SELECT DECOMPRESS_BINARY(TO_BINARY('0920536E6F77666C616B65', 'HEX'), 'SNAPPY');
+-------------------------------------------------------------------------+
| DECOMPRESS_BINARY(TO_BINARY('0920536E6F7... | |
snowflake_docs/create-masking-policy_11_0.txt | Example: Normal masking policy ¶
expression.
The following are representative examples of the policy body to show how to
create masking policy conditions using different SQL expressions, functions,
and data types.
context function. If role activation and role hierarchy is necessary in the
policy conditions, use [ IS... | |
snowflake_docs/show-global-accounts_0_0.txt | /
1. Organization
7. Managed Accounts
11. Account Parameters & Functions
ACCOUNTS
| |
snowflake_docs/current_ip_address_2_0.txt | Syntax ¶
CURRENT_IP_ADDRESS()
Copy
| |
snowflake_docs/alter-row-access-policy_9_0.txt | Examples ¶
The following example updates the row access policy.
>
> DESC ROW ACCESS POLICY rap_table_employee_info;
>
>
> Copy
+-------------------------+-------------+-------------+------+
| name | signature | return_type | body |
+-------------------------+-------------+-----... | |
snowflake_docs/system_get_tag_on_current_table_6_0.txt | label-tag-masking-policy-table-string-value) .
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Arguments
3. Usage notes
4. Examples
Related content
Language : **English** | |
snowflake_docs/alter-aggregation-policy_10_0.txt | Examples ¶
Change the SQL expression of the aggregation policy to require a minimum group
size of 2 rows in all circumstances:
>
> ALTER AGGREGATION POLICY my_policy SET BODY ->
> AGGREGATION_CONSTRAINT(MIN_GROUP_SIZE=>2);
>
>
> Copy
Rename an aggregation policy:
>
> ALTER AGGREGATION POLICY my_policy RENA... | |
snowflake_docs/show-authentication-policies_3_0.txt | Access Control Requirements ¶
access-control-overview-roles) used to execute this SQL command must have at
control-overview.html | |
snowflake_docs/copy-into-table_14_1.txt | get table that match corresponding columns represented in the data.
Important
Do not use the MATCH_BY_COLUMN_NAME copy option when you are transforming data
during a load because using them together will generate unexpected results.
For example, the following syntax is not allowed:
COPY INTO [<namespace>.]<table_na... | |
snowflake_docs/alter-table-event-table_2_0.txt | Syntax ¶
ALTER TABLE [ IF EXISTS ] <name> RENAME TO <new_table_name>
ALTER TABLE [ IF EXISTS ] <name> clusteringAction
ALTER TABLE [ IF EXISTS ] <name> dataGovnPolicyTagAction
ALTER TABLE [ IF EXISTS ] <name> searchOptimizationAction
ALTER TABLE [ IF EXISTS ] <name> SET
[ DATA_RETENTION_TIM... | |
snowflake_docs/create-catalog-integration_8_0.txt | label-access-control-overview-privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
CREATE INTEGRATION
|
Account
|
Only the ACCOUNTADMIN role has this privilege by default. The privilege can be
granted to additional roles as needed.
For instructions on creating a custom role with a specified set of pri... | |
snowflake_docs/show-row-access-policies_4_0.txt | Access control requirements ¶
access-control-overview-roles) used to execute this SQL command must have at
control-overview.html | |
snowflake_docs/alter-file-format_4_0.txt | Format Type Options ( ` formatTypeOptions ` ) ¶
Depending on the file format type specified ( ` TYPE = ... ` ), you can
include one or more of the following format-specific options (separated by
blank spaces, commas, or new lines):
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.