id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
snowflake_docs/commands-security_0_0.txt | /
1. Authentication Policy
7. Network Policy
13. Network Rule
19. Packages Policy
25. Password Policy
31. Session Policy
37. Secret
commands) Security
| |
snowflake_docs/masking_policies_3_0.txt | Usage Notes ¶
* Latency for the view may be up to 120 minutes (2 hours).
* The view only displays objects for which the current role for the session has been granted access privileges.
* The LAST_ALTERED column is updated when the following operations are performed on an object:
* DDL operations.
*... | |
snowflake_docs/serverless_task_history_2_0.txt | label-tasks-compute-resources) usage history. The
information returned by the function includes the task name and credits
consumed by runs of each task.
| |
snowflake_docs/dynamic_table_graph_history_3_0.txt | Arguments ¶
All the arguments are optional. If no arguments are provided, then only the
most recent description of currently existing dynamic tables will be returned.
` AS_OF => _ constant_expr _ `
Time (in TIMESTAMP_LTZ format) at which to return the state of the graph. You
can specify a time that corresponds to ... | |
snowflake_docs/drop-view_2_0.txt | Syntax ¶
DROP VIEW [ IF EXISTS ] <name>
Copy
| |
snowflake_docs/system_allowlist_privatelink_2_0.txt | Syntax ¶
SYSTEM$ALLOWLIST_PRIVATELINK()
Copy
| |
snowflake_docs/system_last_change_commit_time_4_0.txt | Returns ¶
The data type of the returned value is NUMBER with a scale of 0.
| |
snowflake_docs/create-packages-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/alter-packages-policy_5_0.txt | label-access-control-overview-privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
OWNERSHIP
|
Packages policy
|
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 GRAN... | |
snowflake_docs/datediff_4_0.txt | Returns ¶
_For DATEDIFF:_
Returns an integer representing the number of units (seconds, days, etc.)
difference between ` _ date_or_time_expr2 _ ` and ` _ date_or_time_expr1 _ `
.
_For minus sign:_
Returns an integer representing the number of days difference between ` _
date_expr2 _ ` and ` _ date_expr1 _ ` . (T... | |
snowflake_docs/create-database_17_0.txt | Database Replication Examples ¶
The following example creates a replica of the ` myorg.account1.mydb1 `
primary database in the ` account1 ` account of the ` myorg ` organization,
with automatic refreshing of materialized views in the replica enabled. The
SQL statement is executed in the same AWS region group ( `... | |
snowflake_docs/get_3_0.txt | Syntax ¶
GET internalStage file://<local_directory_path>
[ PARALLEL = <integer> ]
[ PATTERN = '<regex_pattern>'' ]
Copy
Where:
>
> internalStage ::=
> @[<namespace>.]<int_stage_name>[/<path>]
> | @[<namespace>.]%<table_name>[/<path>]
> | @~[/<path>]
>
>
> Copy
| |
snowflake_docs/constructs_1_0.txt | Query Syntax ¶
and the following basic syntax:
[ WITH ... ]
SELECT
[ TOP <n> ]
...
[ INTO ... ]
[ FROM ...
[ AT | BEFORE ... ]
[ CHANGES ... ]
[ CONNECT BY ... ]
[ JOIN ... ]
[ ASOF JOIN ... ]
[ LATERAL ... ]
[ MATCH_RECOGNIZE ... ]
... | |
snowflake_docs/declare_7_0.txt | Examples ¶
>
> DECLARE
> profit number(38, 2) DEFAULT 0.0;
> BEGIN
> LET cost number(38, 2) := 100.0;
> LET revenue number(38, 2) DEFAULT 110.0;
>
> profit := revenue - cost;
> RETURN profit;
> END;
>
>
> Copy
>
> (see [ Using Snowflake Scripting in SnowSQL and the Class... | |
snowflake_docs/get_service_type_usage_6_0.txt | label-budgets-application-roles) for the account budget.
| |
snowflake_docs/h3_grid_disk_4_0.txt | Arguments ¶
` _ cell_id _ `
An INTEGER that represents the H3 cell ID ( [ index
represents the cell ID in hexadecimal format.
` _ k_value _ `
An INTEGER that represents the grid distance. You must specify a non-negative
value.
| |
snowflake_docs/match_recognize_11_1.txt | troduction.html | |
snowflake_docs/drop-streamlit_0_0.txt | /
| |
snowflake_docs/alter-stage_4_0.txt | Parameters ¶
` _ name _ `
Specifies the identifier for the stage 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.
` RENAME TO _ new_name _ `
Specifies the new identifier for the s... | |
snowflake_docs/bitmap_bucket_number_3_0.txt | Arguments ¶
` _ numeric_expr _ `
This expression must evaluate to a data type that can be cast to NUMBER.
| |
snowflake_docs/from_6_0.txt | Directory Table Clause ¶
` DIRECTORY( @<stage_name> ) `
guide/data-load-dirtables) .
| |
snowflake_docs/access_history_4_1.txt | es the ` columnName ` and ` objectName ` values, allows
the consumer to know which object was accessed in their account and also
protects the provider because the underlying table (via the ` objectId ` and
` columnId ` ) is not revealed to the consumer.
* For column lineage:
If a data sharing provider makes a vi... | |
snowflake_docs/desc-iceberg-table_8_0.txt | Usage notes ¶
If a masking policy isn’t set on the column or if the Snowflake account isn’t
Enterprise Edition or higher, Snowflake returns ` NULL ` .
| |
snowflake_docs/alter-database_6_0.txt | Usage Notes ¶
* To rename a database, the role used to perform the operation must have the CREATE DATABASE global privilege and OWNERSHIP privilege on the database.
* To swap two databases, the role used to perform the operation must have OWNERSHIP privileges on both databases.
* To update a comment, the rol... | |
snowflake_docs/copy-into-location_8_0.txt | TYPE = JSON ¶
` COMPRESSION = AUTO | GZIP | BZ2 | BROTLI | ZSTD | DEFLATE |
RAW_DEFLATE | NONE `
String (constant). Compresses the data file using the specified compression
algorithm.
Supported Values
|
Notes
---|---
` AUTO `
|
Unloaded files are automatically compressed using the default, which... | |
snowflake_docs/desc-secret_5_0.txt | Access control requirements ¶
access-control-overview-roles) used to execute this SQL command must have the
overview.html | |
snowflake_docs/get_spending_limit_3_0.txt | Returns ¶
* The number of credits set as the spending limit for the budget.
* ` -1 ` if the spending limit is not set.
| |
snowflake_docs/unpivot_0_0.txt | /
Categories:
| |
snowflake_docs/commands-model_2_0.txt | Model Commands ¶
| |
snowflake_docs/functions-all_31_2.txt | es are allowed to access the internal
stage of the current Snowflake account on Microsoft Azure.
|
|
Returns a token that can be used to detect whether a database table or view
changed between two calls to the function.
|
[ SYSTEM$LINK_ACCOUNT_OBJECTS_BY_NAME
|
Adds a global identifier to account objects in the target ... | |
snowflake_docs/show-transactions_3_0.txt | Parameters ¶
` IN ACCOUNT `
Shows all transactions across all users in the account. It can only be used by
users with the ACCOUNTADMIN role (i.e. account administrators).
| |
snowflake_docs/dense_rank_1_0.txt | DENSE_RANK ¶
Returns the rank of a value within a group of values, without gaps in the
ranks.
The rank value starts at 1 and continues up sequentially.
If two values are the same, they have the same rank.
| |
snowflake_docs/show-shares_2_0.txt | Syntax ¶
SHOW SHARES [ LIKE '<pattern>' ]
[ LIMIT <rows> [ FROM '<name_string>' ] ]
Copy
| |
snowflake_docs/show-users_3_0.txt | Parameters ¶
` TERSE `
Optionally returns only a subset of the output columns:
>
> | name | created_on | display_name | first_name | last_name | email |
> org_identity | comment | has_password | has_rsa_public_key |
>
>
> Copy
Default: No value (all columns are included in the output).
` LIKE ' _ pattern _... | |
snowflake_docs/associate_semantic_category_tags_4_0.txt | Usage notes ¶
If you want to apply alternate values:
* You can store the classification results in a table and edit the results before applying them or
* To unset a Classification system tag from a column, use an ALTER TABLE … MODIFY COLUMN … UNSET TAG statement.
| |
snowflake_docs/use-database_2_0.txt | Syntax ¶
USE [ DATABASE ] <name>
Copy
| |
snowflake_docs/data-types-geospatial_27_0.txt | Example 2: Querying the Area of Germany ¶
GEOGRAPHY types and GEOMETRY types:
ST_AREA Using . GEOGRAPHY Input
|
ST_AREA Using . GEOMETRY Input
---|---
SELECT ST_AREA(border) AS area_in_sq_meters
FROM world_countries
WHERE name = 'Germany';
Copy
+-------------------+
| AREA_IN_SQ_METER... | |
snowflake_docs/st_distance_4_0.txt | Arguments ¶
` _ geography_or_geometry_expression_1 _ `
The argument must be of type GEOGRAPHY or GEOMETRY.
` _ geography_or_geometry_expression_2 _ `
The argument must be of type GEOGRAPHY or GEOMETRY.
| |
snowflake_docs/alter-task_3_1.txt | its and added to the
compute resource usage for the task run.
Generally the compute time to validate the condition is insignificant compared
to task execution time. As a best practice, align scheduled and actual task
runs as closely as possible. Avoid task schedules that are wildly out of synch
with actual task runs. F... | |
snowflake_docs/current_version_0_0.txt | /
1. General
14. Session
29. Session Object
41. Alert
context) CURRENT_VERSION
Categories:
| |
snowflake_docs/external_table_registration_history_4_0.txt | Usage notes ¶
* Returns results for the external table owner (i.e. the role with the OWNERSHIP privilege on the external table), or a higher role, or a role that has the USAGE privilege on the database and schema that contain an external table and any privilege on the external table.
* The table function cann... | |
snowflake_docs/atanh_1_0.txt | ATANH ¶
Computes the inverse (arc) hyperbolic tangent of its argument.
| |
snowflake_docs/data-types-structured_26_0.txt | Getting the List of Keys from a Structured OBJECT ¶
To get the list of keys in a structured OBJECT, call the [ OBJECT_KEYS
SELECT OBJECT_KEYS({'city':'San Mateo','state':'CA'}::OBJECT(city VARCHAR, state VARCHAR));
Copy
If the input value is a structured OBJECT, the function returns an
ARRAY(VARCHAR) containing ... | |
snowflake_docs/create-external-volume_2_0.txt | Syntax ¶
CREATE [ OR REPLACE ] EXTERNAL VOLUME [IF NOT EXISTS]
<name>
STORAGE_LOCATIONS =
(
(
NAME = '<storage_location_name>'
cloudProviderParams
)
[, (...), ...]
)
[ ALLOW_WRITES = { TRUE | FALSE }]
[ COMMENT = '<stri... | |
snowflake_docs/show-failover-groups_6_0.txt | Output ¶
The command returns the following columns:
Column
|
Description
---|---
` region_group `
|
Region group where the account is located. **Note:** this column is only
guide/admin-account-identifier.html | |
snowflake_docs/map_contains_key_5_0.txt | Usage Notes ¶
* The type of the key expression must match the type of the map’s key. If the type is VARCHAR, the types can be different lengths.
* For NULL input, the output is NULL.
| |
snowflake_docs/regr_sxy_3_0.txt | Arguments ¶
` _ y _ `
The dependent variable. This must be an expression that can be evaluated to a
numeric type.
` _ x _ `
The independent variable. This must be an expression that can be evaluated to
a numeric type.
` _ expr3 _ `
This is the optional expression used to group rows into partitions.
Important
Note... | |
snowflake_docs/create-network-policy_10_0.txt | Examples ¶
Create a network policy named ` mypolicy1 ` with the following properties:
> * Allow all IP addresses in the range of ` 192.168.1.0 ` to `
> 192.168.1.255 ` (via CIDR notation ` 192.168.1.0/24 ` ), except `
> 192.168.1.99 ` , which is explicitly blocked.
>
> * Deny all other IP addresses.
>
>
> ... | |
snowflake_docs/st_makepolygonoriented_5_0.txt | Usage Notes ¶
* The lines of the Polygon must form a loop. In other words, the last Point in the sequence of Points defining the LineString must be the same Point as the first Point in the sequence.
* As you follow along the loop, the inside of the Polygon should be on the left, and the outside of the Polygon s... | |
snowflake_docs/create-table_15_0.txt | TYPE = ORC ¶
` TRIM_SPACE = TRUE | FALSE `
Use :
Data loading and external tables
Definition :
Boolean that specifies whether to remove leading and trailing white space from
strings.
For example, if your external database software encloses fields in quotes, but
inserts a leading space, Snowflake reads the lea... | |
snowflake_docs/snowflake-db-classes_4_0.txt | Find All Classes ¶
List all the available Snowflake classes by executing the [ SHOW CLASSES
SHOW CLASSES IN DATABASE SNOWFLAKE;
Copy
The results of this statement include the database and schema name for each
class.
| |
snowflake_docs/split_3_0.txt | Arguments ¶
` _ string _ `
Text to be split into parts.
` _ separator _ `
Text to split string by.
| |
snowflake_docs/date-time-examples_15_0.txt | Creating Yearly Calendar Views ¶
CREATE OR REPLACE VIEW
calendar_2016 as SELECT n, theDate,
DECODE (EXTRACT('dayofweek',theDate),
1 , 'Monday',
2 , 'Tuesday',
3 , 'Wednesday',
4 , 'Thursday',
5 , 'Friday',
6 , 'Saturday',
0 , 'Sunday'
) th... | |
snowflake_docs/regr_count_5_0.txt | Examples ¶
Show the number of pairs in each group, and the number of those pairs in which
neither member is NULL.
create or replace table aggr(k int, v decimal(10,2), v2 decimal(10, 2));
insert into aggr values(1, 10, null);
insert into aggr values(2, 10, 11), (2, 20, 22), (2, 25,null), (2, 30, 35);
... | |
snowflake_docs/st_perimeter_2_0.txt | Syntax ¶
ST_PERIMETER( <geography_or_geometry_expression> )
Copy
| |
snowflake_docs/translate-snowflake-cortex_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/drop-warehouse_3_0.txt | Parameters ¶
` _ name _ `
Specifies the identifier for the warehouse to drop. If the identifier contains
spaces, special characters, or mixed-case characters, the entire string must
be enclosed in double quotes. Identifiers enclosed in double quotes are also
case-sensitive.
| |
snowflake_docs/create-event-table_2_0.txt | Syntax ¶
CREATE [ OR REPLACE ] EVENT TABLE [ IF NOT EXISTS ] <name>
[ CLUSTER BY ( <expr> [ , <expr> , ... ] ) ]
[ DATA_RETENTION_TIME_IN_DAYS = <integer> ]
[ MAX_DATA_EXTENSION_TIME_IN_DAYS = <integer> ]
[ CHANGE_TRACKING = { TRUE | FALSE } ]
[ DEFAULT_DDL_COLLATION = '<collation_s... | |
snowflake_docs/h3_latlng_to_cell_6_0.txt | Examples ¶
The following example returns the H3 cell ID for the Brandenburg Gate at
resolution 8.
SELECT H3_LATLNG_TO_CELL(52.516262, 13.377704, 8);
Copy
+--------------------------------------------+
| H3_LATLNG_TO_CELL(52.516262, 13.377704, 8) |
|--------------------------------------------|
| ... | |
snowflake_docs/group-by-rollup_1_0.txt | GROUP BY ROLLUP ¶
produces sub-total rows (in addition to the grouped rows). Sub-total rows are
rows that further aggregate whose values are derived by computing the same
aggregate functions that were used to produce the grouped rows.
You can think of rollup as generating multiple result sets, each of which
(after t... | |
snowflake_docs/listing-auto-fulfillment-refresh-daily_0_0.txt | /
Schema:
| |
snowflake_docs/select_5_1.txt | SELECT * REPLACE ('DEPT-' || department_id AS department_id) RENAME employee_id as employee ...
Copy
* You can specify the same column name in ` REPLACE ` and ` RENAME ` :
SELECT * REPLACE ('DEPT-' || department_id AS department_id) RENAME department_id as department ...
Copy
` _ col... | |
snowflake_docs/parameters_102_0.txt | TRACE_LEVEL ¶
Type :
Session — Can be set for Account » User » Session
Type :
Object (for databases, schemas, stored procedures, and UDFs) — Can be set for
Account » Database » Schema » Procedure and Account » Database » Schema »
Function
Data Type :
String (Constant)
Description :
Controls how trace events are ... | |
snowflake_docs/system_unblock_internal_stages_public_access_3_0.txt | Arguments ¶
None.
| |
snowflake_docs/h3_get_resolution_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_GET_RESOLUTION
Categories:
| |
snowflake_docs/current_region_4_0.txt | Examples ¶
Show the current region:
>
> SELECT CURRENT_REGION();
>
>
> Copy
>
> Output:
>
>
> +------------------+
> | CURRENT_REGION() |
> |------------------|
> | AWS_US_WEST_2 |
> +------------------+
>
>
> Copy
Show the current region when the current user is logged into an acc... | |
snowflake_docs/bitor_4_0.txt | Returns ¶
Returns an integer that represents the bitwise OR of the input expressions.
| |
snowflake_docs/event_usage_history_0_0.txt | /
Schema:
| |
snowflake_docs/show-replication-groups_5_0.txt | Output ¶
The command returns the following columns:
Column
|
Description
---|---
` region_group `
|
Region group where the account is located. **Note:** this column is only
guide/admin-account-identifier.html | |
snowflake_docs/as_decimal-number_1_0.txt | AS_DECIMAL , AS_NUMBER ¶
Casts a VARIANT value to a fixed-point decimal (does not match floating-point
values), with optional precision and scale.
AS_NUMBER is a synonym for AS_DECIMAL.
See also:
| |
snowflake_docs/time_from_parts_2_0.txt | Syntax ¶
TIME_FROM_PARTS( <hour>, <minute>, <second> [, <nanoseconds>] )
Copy
| |
snowflake_docs/show-roles_2_0.txt | Syntax ¶
SHOW [ TERSE ] ROLES
[ LIKE '<pattern>' ]
[ IN CLASS <class_name> ]
[ STARTS WITH '<name_string>']
[ LIMIT <rows> [ FROM '<name_string>' ] ]
Copy
| |
snowflake_docs/drop-stage_2_0.txt | Syntax ¶
DROP STAGE [ IF EXISTS ] <name>
Copy
| |
snowflake_docs/account-usage_2_0.txt | Overview of Account Usage Schemas ¶
ACCOUNT_USAGE :
Views that display object metadata and usage metrics for your account.
In general, these views mirror the corresponding views and table functions in
following differences:
* Records for dropped objects included in each view.
* Longer retention time for histor... | |
snowflake_docs/system_generate_scim_access_token_0_0.txt | /
1. Control
29. Information
90. Query Information
SYSTEM$GENERATE_SCIM_ACCESS_TOKEN
Categories:
| |
snowflake_docs/stddev_7_0.txt | Window Function Example ¶
The following example also uses the ` menu_items ` table (see Create and
Load the menu_items Table ) but calls the STDDEV function as a window
function.
The window function partitions rows by the ` menu_category ` column.
Therefore, the standard deviation is calculated once for each cat... | |
snowflake_docs/create-stream_2_0.txt | Syntax ¶
The command syntax differs depending on the object on which the stream is
created:
-- table
CREATE [ OR REPLACE ] STREAM [IF NOT EXISTS]
<name>
[ COPY GRANTS ]
ON TABLE <table_name>
[ { AT | BEFORE } ( { TIMESTAMP => <timestamp> | OFFSET => <time_difference> | STATEMENT => <i... | |
snowflake_docs/create-function_47_0.txt | JavaScript ¶
Create a JavaScript UDF named ` js_factorial ` :
CREATE OR REPLACE FUNCTION js_factorial(d double)
RETURNS double
LANGUAGE JAVASCRIPT
STRICT
AS '
if (D <= 0) {
return 1;
} else {
var result = 1;
for (var i = 2; i <= D; i++) {
res... | |
snowflake_docs/right_3_0.txt | Arguments ¶
` _ expr _ `
The expression for which you want the rightmost substring. The expression must
evaluate to a ` VARCHAR ` or ` BINARY ` value.
` _ length_expr _ `
The length should be an expression that evaluates to an integer. It should
specify:
* The number of UTF-8 characters to return if the input ... | |
snowflake_docs/try_to_boolean_3_0.txt | Arguments ¶
` _ string_expr _ `
A string expression that can be evaluated to a ` BOOLEAN ` value.
| |
snowflake_docs/nvl2_6_0.txt | Examples ¶
If ` a ` is not null, then return ` b ` , else return ` c ` :
>
> SELECT a, b, c, NVL2(a, b, c) FROM i2;
>
> --------+--------+--------+---------------+
> A | B | C | NVL2(A, B, C) |
> --------+--------+--------+---------------+
> 0 | 5 | 3 | 5 ... | |
snowflake_docs/create-security-integration-saml2_10_0.txt | label-saml-sso-create-integration) .
Default: ` https://<account_locator>.<region>.snowflakecomputing.com/fed/login
`
` COMMENT = ' _ string_literal _ ' `
Specifies a comment for the integration.
Default: No value
| |
snowflake_docs/system_abort_session_4_0.txt | Examples ¶
SELECT SYSTEM$ABORT_SESSION(1065153868222);
+-------------------------------------+
| SYSTEM$ABORT_SESSION(1065153868222) |
|-------------------------------------|
| session [1065153868222] terminated. |
+-------------------------------------+
Copy
Was this page helpful?
Yes No
In... | |
snowflake_docs/get_ddl_10_0.txt | Examples ¶
Return the DDL used to create a view named ` books_view ` :
>
> select get_ddl('view', 'books_view');
>
> +-----------------------------------------------------------------------------+
> | GET_DDL('VIEW', 'BOOKS_VIEW')
> |
>
> |--------------------------------------------------------------------... | |
snowflake_docs/alter-session-policy_3_0.txt | Syntax ¶
ALTER SESSION POLICY [ IF EXISTS ] <name> RENAME TO <new_name>
ALTER SESSION POLICY [ IF EXISTS ] <name> SET [ SESSION_IDLE_TIMEOUT_MINS = <integer> ]
[ SESSION_UI_IDLE_TIMEOUT_MINS = <integer> ]
[ CO... | |
snowflake_docs/as_integer_4_0.txt | Examples ¶
This shows how to use the function:
> Create a table and data:
>
>>
>> CREATE TABLE multiple_types (
>> array1 VARIANT,
>> array2 VARIANT,
>> boolean1 VARIANT,
>> char1 VARIANT,
>> varchar1 VARIANT,
>> decimal1 VARIANT,
>> double1 VARIANT,
>> ... | |
snowflake_docs/create-clone_13_0.txt | Additional Rules that Apply to Cloning Objects ¶
Metadata :
An object clone inherits the name and structure of the source object
current at the time the CREATE _ <object> _ CLONE statement is executed or at
guide/data-time-travel) . An object clone inherits any other metadata, such as
comments or table clusteri... | |
snowflake_docs/break_2_0.txt | Syntax ¶
{ BREAK | EXIT } [ <label> ] ;
Copy
Where:
> ` _ label _ `
>
>
> An optional label. If the label is specified, the ` BREAK ` will jump to
> the statement immediately after the label.
>
> You can use this to break out of more than one level of a nested loop or a
> nested branch.
| |
snowflake_docs/set_spending_limit_4_0.txt | label-budgets-supported-objects) contribute to the credit
usage.
If a value is not specified for a budget, the budget has no spending limit,
will never reach 100% usage, and will not trigger notifications.
Default: -1 (no spending limit).
| |
snowflake_docs/alter-tag_3_0.txt | Syntax ¶
ALTER TAG [ IF EXISTS ] <name> RENAME TO <new_name>
ALTER TAG [ IF EXISTS ] <name> { ADD | DROP } ALLOWED_VALUES '<val_1>' [ , '<val_2>' [ , ... ] ]
ALTER TAG <name> UNSET ALLOWED_VALUES
ALTER TAG <name> SET MASKING POLICY <masking_policy_name> [ , MASKING POLICY <masking_policy_2_name> , ..... | |
snowflake_docs/sql-format-models_4_0.txt | Format Literals ¶
Format literals are sequences that can consist of combinations of:
* Strings of arbitrary characters delimited by double quotes (a double quote is represented as two adjacent double quotes).
* One or more of the following symbols:
Symbol/Character
|
Notes
---|---
` . ` (period)
|
In fixe... | |
snowflake_docs/system_estimate_query_acceleration_1_0.txt | SYSTEM$ESTIMATE_QUERY_ACCELERATION ¶
For a previously executed query, this function returns a JSON object that
specifies if the query is eligible to benefit from the [ query acceleration
eligible for query acceleration, the output includes the estimated query
execution time for different query acceleration scale fac... | |
snowflake_docs/var_samp_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/functions-all_1_0.txt | All Functions (Alphabetical) ¶
This topic provides a list of all Snowflake system-defined (i.e. built-in)
functions, scalar or table, in alphabetical order.
The list includes:
* The name of each function.
* A summary of each function.
* A list of the categories that the function belongs in.
Function Name
|
... | |
snowflake_docs/system_external_table_pipe_status_4_0.txt | Usage notes ¶
* This function only returns results for the external table owner (i.e. the role that has the OWNERSHIP privilege on the external table).
* ` _ external_table_name _ ` is a string so it must be enclosed in single quotes:
* Note that the entire name must be enclosed in single quotes, includin... | |
snowflake_docs/st_azimuth_6_0.txt | Examples ¶
| |
snowflake_docs/create-resource-monitor_1_0.txt | CREATE RESOURCE MONITOR ¶
command can only be executed by account administrators.
See also:
| |
snowflake_docs/st_endpoint_6_0.txt | Examples ¶
| |
snowflake_docs/show-failover-groups_5_0.txt | Usage Notes ¶
* Executing this command requires a role with any one of the following privileges on a failover group:
* FAILOVER
* MONITOR
* OWNERSHIP
* REPLICATE
* The output of SHOW FAILOVER GROUPS only includes groups of type ` FAILOVER ` .
| |
snowflake_docs/system_estimate_query_acceleration_0_0.txt | /
1. Control
29. Information
90. Query Information
SYSTEM$ESTIMATE_QUERY_ACCELERATION
Categories:
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.