id
stringlengths
16
145
text
stringlengths
1
179k
title
stringclasses
1 value
snowflake_docs/ntile_0_0.txt
/ 1. General 27. Rank-Related 39. Bitwise Aggregation 43. Boolean Aggregation 47. Hash Aggregation 49. Semi-structured Aggregation 52. Counting Distinct Values 55. Linear Regression 65. Statistics and Probability ...
snowflake_docs/approx_top_k_4_0.txt
Usage Notes ¶ * The approximation is more accurate if the number of ` _ counters _ ` is large, so in most cases ` _ counters _ ` should be considerably bigger than ` _ k _ ` . (Each counter uses only a small amount of memory, so increasing the number of counters is not expensive in terms of memory.) * When u...
snowflake_docs/st_startpoint_5_0.txt
Usage Notes ¶ * If ` _ geography_or_geometry_expression _ ` is not a LineString, the function reports an error.
snowflake_docs/system_get_iceberg_table_information_4_0.txt
Returns ¶ The function returns a JSON object containing the following name/value pairs: > {“metadataLocation”:”<value>”,”status”:”<value>”} Where: > ` metadataLocation ` > > > Location of the root metadata file updated or retrieved by the function. > > ` status ` > > > Status of the operation. This field retur...
snowflake_docs/trunc2_6_0.txt
Examples ¶ The examples below show date trunction. Note that in all cases the result is a complete date, including month and day, but is the earliest date in the period specified by the ` _ date_or_time_expr _ ` and ` _ date_or_time_part _ ` . select trunc(to_date('2013-05-08'), 'MONTH'); +----------------...
snowflake_docs/create-hybrid-table_9_1.txt
umns in the table: DESC TABLE mytable; Copy +-------------------+--------------+--------+-------+---------+-------------+------------+-------+------------+---------+-------------+ | name | type | kind | null? | default | primary key | unique key | check | expression | comment | policy...
snowflake_docs/complete-snowflake-cortex_8_0.txt
Returns ¶ When the ` _ options _ ` argument is not specified, a string. When the ` _ options _ ` argument is given, a string representation of a JSON object containing the following keys. * ` "choices" ` : An array of the model’s responses. (Currently, only one response is provided.) Each response is an object ...
snowflake_docs/try_to_binary_2_0.txt
Syntax ¶ TRY_TO_BINARY( <string_expr> [, '<format>'] ) Copy
snowflake_docs/desc-external-volume_7_0.txt
label-security-custom-role) . For general information about roles and privilege grants for performing SQL overview.html
snowflake_docs/extract_answer-snowflake-cortex_5_0.txt
Returns ¶ A string containing an answer to the given question.
snowflake_docs/desc-authentication-policy_9_0.txt
Examples ¶ Describe an authentication policy named ` my_auth_policy ` : DESC AUTHENTICATION POLICY my_auth_policy; 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/add_regex_3_0.txt
Syntax ¶ CALL <custom_classifier>!ADD_REGEX( '<semantic_category>' , '<privacy_category>' , '<value_regex>' , [ <column_name_regex> ] , [ <description> ] ) Copy
snowflake_docs/binary-input-output_14_0.txt
UTF-8 Format Example ¶ > Start by creating a table with a BINARY column: > > > CREATE TABLE demo_binary (b BINARY); > > > Copy > > Insert a row: > > > INSERT INTO demo_binary (b) SELECT TO_BINARY('HELP', 'UTF-8'); > > > Copy > > Retrieve that row: > > > SELECT 'HELP', TO_VARCHAR(b, 'UTF-8...
snowflake_docs/show-shares-in-replication-group_3_0.txt
Parameters ¶ ` _ name _ ` Specifies the identifier for the replication group.
snowflake_docs/data_transfer_history_6_0.txt
Examples ¶ Retrieve the data transfer history for a 30 minute range, in 5 minute periods, for your account: > > select * > from table(mydb.information_schema.data_transfer_history( > date_range_start=>to_timestamp_tz('2017-10-24 12:00:00.000 -0700'), > date_range_end=>to_timestamp_tz('2017-...
snowflake_docs/array_flatten_1_0.txt
ARRAY_FLATTEN ¶ array) of ARRAYs into a single ARRAY. The function effectively concatenates the ARRAYs that are elements of the input ARRAY and returns them as a single ARRAY.
snowflake_docs/drop-custom-classifier_6_0.txt
Access control requirements ¶ overview.html
snowflake_docs/create-secret_1_0.txt
CREATE SECRET ¶ Creates a new secret in the current/specified schema or replaces an existing secret. See also:
snowflake_docs/arrays_to_object_2_0.txt
label-data-type-array) and the values specified by another input ARRAY.
snowflake_docs/current_account_name_0_0.txt
/ 1. General 14. Session 29. Session Object 41. Alert context) CURRENT_ACCOUNT_NAME Categories:
snowflake_docs/as_date_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) (Cast)
snowflake_docs/create-table_13_1.txt
s only when loading JSON data into separate columns using the MATCH_BY_COLUMN_NAME copy option. Default : ` FALSE ` ` NULL_IF = ( ' _ string1 _ ' [ , ' _ string2 _ ' , ... ] ) ` Use : Data loading only Definition : String used to convert to and from SQL NULL. Snowflake replaces these strings in the d...
snowflake_docs/from_2_0.txt
Syntax ¶ SELECT ... FROM objectReference [ JOIN objectReference [ ... ] ] [ ... ] Copy Where: > > objectReference ::= > { > [<namespace>.]<object_name> > [ AT | BEFORE ( <object_state> ) ] > [ CHANGES ( <change_tracking_type> ) ] > [ MATCH...
snowflake_docs/bind-variables_1_0.txt
Bind Variables ¶ Applications can accept data from users and use that data in SQL statements. For example, an application might ask a user to enter contact information, such as an address and phone number. To specify this user input in a SQL statement, you can programmatically construct a string for the SQL statemen...
snowflake_docs/validate_pipe_load_3_0.txt
Arguments ¶ ` PIPE_NAME => _ string _ ` A string specifying a pipe. The function returns results for the specified pipe only. ` START_TIME => _ constant_expr _ ` Timestamp (in TIMESTAMP_LTZ format), within the last 14 days, marking the start of the time range for retrieving error events. **Optional:** ` END_TIME...
snowflake_docs/current_warehouse_2_0.txt
Syntax ¶ CURRENT_WAREHOUSE() Copy
snowflake_docs/drop-file-format_4_0.txt
Usage Notes ¶ * Dropped file formats cannot be recovered; they must be recreated. * Dropping a file format that is referenced in another object (e.g. named stage) does not cause errors because the object uses the file format defaults in place of the dropped file format.
snowflake_docs/array_flatten_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/snowflake-db-classes_11_0.txt
Use an Instance ¶ After you create an instance of a class, you can call the instance methods that the class provides. Calling a method requires the exclamation point ( ` ! ` ) character. The ` ! ` character is used to dereference the instance. For example, to call the DETECT_ANOMALIES method of the anomaly detector...
snowflake_docs/show-primary-keys_0_0.txt
/ 2. Table 13. Dynamic Table 19. Event Table 24. External Table 30. Hybrid Table 36. Iceberg Table 43. View 49. Materialized View 56. Sequence SHOW PRIMARY KEYS
snowflake_docs/show-endpoints_0_0.txt
/ 1. IMAGE REGISTRY AND REPOSITORY 5. COMPUTE POOL 11. SERVICE 18. JOB container-services) SHOW ENDPOINTS
snowflake_docs/array_sort_5_0.txt
Returns ¶ This function returns an ARRAY that contains the elements of ` _ array _ ` in sorted order.
snowflake_docs/create-external-function_9_0.txt
label-access-control-securable-objects) , see [ Overview of
snowflake_docs/replication_group_usage_history_0_0.txt
/ 24. Legacy Views Schema:
snowflake_docs/create-stage_12_0.txt
Format type options ( ` formatTypeOptions ` ) ¶ Depending on the file format type specified ( ` FILE_FORMAT = ( TYPE = ... ) ` ), you can include one or more of the following format-specific options (separated by blank spaces, commas, or new lines):
snowflake_docs/create-projection-policy_1_0.txt
CREATE 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) . the c...
snowflake_docs/get_relative_path_4_0.txt
Returns ¶ Path of the file relative to the stage location.
snowflake_docs/system_cancel_all_queries_4_0.txt
Usage Notes ¶ * A user can cancel their own running SQL operations using this SQL function. Canceling running operations executed by another user requires a role with one of the following privileges: * OWNERSHIP on the user who executed the operation. * OPERATE or OWNERSHIP on the warehouse that is run...
snowflake_docs/var_samp_1_0.txt
VAR_SAMP ¶ Returns the sample variance of non-NULL records in a group. If all records inside a group are NULL, a NULL is returned. Aliases:
snowflake_docs/alter-session_2_0.txt
Syntax ¶ ALTER SESSION SET sessionParams ALTER SESSION UNSET <param_name> [ , <param_name> , ... ] Copy Where: > > sessionParams ::= > ABORT_DETACHED_QUERY = TRUE | FALSE > AUTOCOMMIT = TRUE | FALSE > BINARY_INPUT_FORMAT = <string> > BINARY_OUTPUT_FORMAT = <string> > DATE_IN...
snowflake_docs/alter-database-role_4_0.txt
Access control privileges ¶ access-control-overview-roles) used to execute this SQL command must have the overview.html
snowflake_docs/editdistance_6_0.txt
Examples ¶ The following example computes the distance between the strings in the columns ` s ` and ` t ` in the table ` ed ` . The last two columns use the ` _ max_distance _ ` argument to specify the maximum distance to compute: * When ` _ max_distance _ ` is ` 3 ` , the function returns ` 3 ` if the dist...
snowflake_docs/alter-stage_9_2.txt
the BOM either causing an error or being merged into the first column in the table. Default : ` TRUE `
snowflake_docs/dynamic_table_graph_history_5_0.txt
Usage Notes ¶ Was this page helpful? Yes No Inc. All Rights Reserved . On this page 1. Syntax 2. Arguments 3. Output 4. Usage Notes Language : **English**
snowflake_docs/alter-table-event-table_3_0.txt
Parameters ¶ ` _ name _ ` Identifier for the event table 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_table_name _ ` Renames the specified event table with a...
snowflake_docs/external_access_history_2_0.txt
Columns ¶ Column Name | Data Type | Description ---|---|--- QUERY_ID | TEXT | ID of the query or job that called the UDF or procedure performing external access. HOSTNAMES | TEXT | Name of the hosts accessed. STATUS | TEXT | Status of the attempt to connect to the external location. One of the following valu...
snowflake_docs/anomaly_detection_9_0.txt
Parameters ¶ ` LIKE ' _ pattern _ ' ` Optionally filters the command output by object name. The filter uses case- insensitive pattern matching, with support for SQL wildcard characters ( ` % ` and ` _ ` ). For example, the following patterns return the same results: ` ... LIKE '%testing%' ... ` ` ... L...
snowflake_docs/operators-query_10_0.txt
Examples ¶ This example demonstrates the basic usage of the UNION operator. It also demonstrates a potential issue when data types do not match, then provides the solution. Start by creating the tables and inserting some data: > > CREATE TABLE t1 (v VARCHAR); > CREATE TABLE t2 (i INTEGER); > INSERT INTO ...
snowflake_docs/grant-application-role_9_0.txt
Usage notes ¶ Granting an application role to another application role can only be performed within the context of an installed application, for example in application setup script.
snowflake_docs/st_asgeojson_4_0.txt
Returns ¶ geojson-handling) format.
snowflake_docs/h3_polygon_to_cells_strings_5_0.txt
Arguments ¶ ` _ geography_polygon _ ` A GEOGRAPHY object that represents a Polygon. ` _ target_resolution _ ` An INTEGER between 0 and 15 (inclusive) specifying the H3 [ resolution returned H3 cells. Specifying any other INTEGER value results in an error.
snowflake_docs/months_between_3_0.txt
Arguments ¶ ` _ date_expr1 _ ` The date to subtract from. ` _ date_expr2 _ ` The date to subtract.
snowflake_docs/dynamic_table_refresh_history_3_0.txt
Arguments ¶ All the arguments are optional. If no arguments are provided, 100 refreshes from all dynamic tables in the account will be returned. ` DATA_TIMESTAMP_START => _ constant_expr _ ` , . ` DATA_TIMESTAMP_END => _ constant_expr _ ` Time range (in TIMESTAMP_LTZ format) during which the refreshes occurred...
snowflake_docs/split_to_table_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/class_instance_functions_1_0.txt
CLASS_INSTANCE_FUNCTIONS View ¶ This Information Schema view displays a row for each function in a [ class See also:
snowflake_docs/create-password-policy_7_0.txt
label-custom-password-policies) . ` PASSWORD_LOCKOUT_TIME_MINS = _ integer _ ` Specifies the number of minutes the user account will be locked after exhausting the designated number of password retries (i.e. ` PASSWORD_MAX_RETRIES ` ). Supported range: 1 to 999, inclusive. Default: 15 Important This parameter is st...
snowflake_docs/create-external-access-integration_10_0.txt
Examples ¶ Create an external access integration that provides access to the Google Translation API. For a more complete example, refer to [ Creating and using an external access external-network-access) . 1. Create a secret representing credentials. To create a secret, you must have been assigned a role with the...
snowflake_docs/to_decimal_5_0.txt
Usage Notes ¶ * For NULL input, the result is NULL. * For fixed-point numbers: * Numbers with different scales are converted by either adding zeros to the right (if the scale needs to be increased) or by reducing the number of fractional digits by rounding (if the scale needs to be decreased). * Note ...
snowflake_docs/drop-row-access-policy_1_0.txt
DROP ROW ACCESS POLICY ¶ This feature requires Enterprise Edition (or higher). To inquire about upgrading, please contact [ Snowflake Support Snowflake-Lodge) . Removes a row access policy from the system. See also: security-row-ddl)
snowflake_docs/greatest_5_0.txt
Collation Details ¶ * The comparisons follow the collation based on the input arguments’ collations and precedences.
snowflake_docs/alter-session_4_0.txt
Usage Notes ¶ * Parameters are typed. The supported types are BOOLEAN, NUMBER, and STRING.
snowflake_docs/median_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/references_9_0.txt
Providers and consumers of applications and classes ¶ A _provider_ creates an application and a _consumer_ installs and uses an application in the consumer account. In the case of [ Snowflake Classes Snowflake account who creates an instance of a class is the _consumer_ . Providers can create applications and classe...
snowflake_docs/alter-external-access-integration_6_0.txt
label-security-custom-role) . For general information about roles and privilege grants for performing SQL overview.html
snowflake_docs/name-resolution_5_0.txt
DDL and DML Statements ¶ In DDL and DML statements, unqualified objects are augmented with the current database and schema. The current schema is maintained similarly to the current database. The current schema always belongs to the current database. When a session is initiated, the current schema is initialized bas...
snowflake_docs/drop-table_3_0.txt
Parameters ¶ ` _ name _ ` Specifies the identifier for the table 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 (e.g. ` "My Object" ` ). If the table identi...
snowflake_docs/literals-table_4_0.txt
Examples ¶ Query the table ` mytable ` using a table literal (note that the following two examples are syntactically equivalent): > > SELECT * FROM TABLE('mytable'); > > SELECT * FROM TABLE($$mytable$$); > > > Copy Query the table ` mytable ` in the schema ` myschema ` and the database ` mydb ` using...
snowflake_docs/drop-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/system_wait_3_0.txt
Arguments ¶ **Required:** ` _ amount _ ` Number specifying the amount of time to wait as determined by ` _ time_unit _ ` . **Optional:** ` _ time_unit _ ` Time unit for ` _ amount _ ` . Accepted values are DAYS, HOURS, MINUTES, SECONDS, MILLISECONDS, MICROSECONDS, NANOSECONDS. The unit should be in single quotes...
snowflake_docs/base64_encode_7_0.txt
Returns ¶ This returns a string that contains only the characters used for the base64 encoding.
snowflake_docs/st_area_9_0.txt
GEOMETRY Examples ¶ The following example calls the ST_AREA function with GEOMETRY objects that represent a Point, LineString, and Polygon. > > SELECT ST_AREA(g), ST_ASWKT(g) > FROM (SELECT TO_GEOMETRY(column1) as g > from values ('POINT(1 1)'), > ('LINESTRING(0 0, 1 1)'), > ...
snowflake_docs/is_array_2_0.txt
Syntax ¶ IS_ARRAY( <variant_expr> ) Copy
snowflake_docs/show-iceberg-tables_8_0.txt
Usage notes ¶ * If an account (or database or schema) has a large number of Iceberg 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 _ ` cann...
snowflake_docs/show-shares_5_0.txt
Output ¶ * The ` kind ` column displays: * ` INBOUND ` indicates the share is available to your account to consume (i.e. you can create a database from the share). * ` OUTBOUND ` indicates that your account is sharing data with other accounts and this share was created in your account. * For ` OUTB...
snowflake_docs/st_union_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_UNION Categories:
snowflake_docs/as_binary_4_0.txt
Examples ¶ This shows how to use the function: > Create a table and data: > >> >> CREATE TABLE multiple_types ( >> binary1 VARIANT, >> date1 VARIANT, >> decimal1 VARIANT, >> time1 VARIANT, >> timestamp1 VARIANT >> ); >> INSERT INTO multiple_types >> (b...
snowflake_docs/previous_day_2_0.txt
Syntax ¶ PREVIOUS_DAY( <date_or_time_expr> , <dow> ) Copy
snowflake_docs/drop-pipe_5_0.txt
Examples ¶ > > DROP PIPE mypipe; > > +------------------------------+ > | status | > |------------------------------| > | MYPIPE successfully dropped. | > +------------------------------+ > > > Copy Was this page helpful? Yes No Inc. All Rights Reserved . On this ...
snowflake_docs/information_schema_catalog_name_2_0.txt
Columns ¶ Column Name | Data Type | Description ---|---|--- CATALOG_NAME | TEXT | The name of the database in which this information_schema resides.
snowflake_docs/complete_task_graphs_0_0.txt
/ Schema:
snowflake_docs/undrop_4_0.txt
Examples ¶ UNDROP DATABASE mydb; Copy Was this page helpful? Yes No Inc. All Rights Reserved . On this page 1. Syntax 2. General Usage Notes 3. Examples Language : **English**
snowflake_docs/iff_4_0.txt
Usage Notes ¶
snowflake_docs/current_database_1_0.txt
CURRENT_DATABASE ¶ Returns the name of the database in use for the current session. To specify a different database for the session, execute the [ USE DATABASE
snowflake_docs/with_12_1.txt
here > band_name = 'Santana' > intersect > select musician_id, musician_name from view_musicians_in_bands where > band_name = 'Journey' > order by musician_ID; > +-------------+---------------+ > | MUSICIAN_ID | MUSICIAN_NAME | > |-------------+---------------| > | 305 | Gregg Rolie ...
snowflake_docs/create-user_14_0.txt
Examples ¶ Create a user with all default properties, a default role, and a basic password that must be changed by the user after their first login: > > CREATE USER user1 PASSWORD='abc123' DEFAULT_ROLE = myrole > DEFAULT_SECONDARY_ROLES = ('ALL') MUST_CHANGE_PASSWORD = TRUE; > > > Copy Was this page helpful? Y...
snowflake_docs/system_get_directory_table_status_2_0.txt
Syntax ¶ $SYSTEM_GET_DIRECTORY_TABLE_STATUS( [ '<stage_name>' ] ) Copy
snowflake_docs/st_contains_3_0.txt
Arguments ¶ ` _ geography_expression_1 _ ` A GEOGRAPHY object that is not a GeometryCollection or FeatureCollection. ` _ geography_expression_2 _ ` A GEOGRAPHY object that is not a GeometryCollection or FeatureCollection. ` _ geometry_expression_1 _ ` A GEOMETRY object that is not a GeometryCollection or FeatureC...
snowflake_docs/st_hausdorffdistance_2_0.txt
Syntax ¶ ST_HAUSDORFFDISTANCE( <geography_expression_1> , <geography_expression_2> ) Copy
snowflake_docs/drop-projection-policy_2_0.txt
label-projection-policy-ddl)
snowflake_docs/approx_top_k_estimate_3_0.txt
Arguments ¶ ` _ state _ ` An expression that contains state information generated by a call to [ ` _ k _ ` The number of values whose counts you want approximated. For example, if you want to see the top 10 most common values, then set ` _ k _ ` to 10. If ` _ k _ ` is omitted, the default is ` 1 ` . The maximum...
snowflake_docs/map_size_2_0.txt
Syntax ¶ MAP_SIZE( <map> ) Copy
snowflake_docs/ifnull_8_0.txt
Examples ¶ Create a table that contains contact information for suppliers: CREATE TABLE IF NOT EXISTS suppliers ( supplier_id INT PRIMARY KEY, supplier_name VARCHAR(30), phone_region_1 VARCHAR(15), phone_region_2 VARCHAR(15)); Copy The table contains the phone number for each supplier in ...
snowflake_docs/system_behavior_change_bundle_status_3_0.txt
Arguments ¶ ` _ bundle_name _ ` Name of the behavior change bundle, specified as a string. To obtain the name changes) .
snowflake_docs/data-types-geospatial_14_0.txt
Changing the Spatial Reference System (SRS) and SRID of a GEOMETRY Object ¶ and [ SRID function, passing in the new SRID. The function returns a new GEOMETRY object with the new SRID and the coordinates converted to use the SRS. For example, to return a GEOMETRY object for ` geometry_expression ` that uses the SRS f...
snowflake_docs/cos_4_0.txt
Examples ¶ > > SELECT COS(0), COS(PI()/3), COS(RADIANS(90)); > > --------+-------------+------------------+ > COS(0) | COS(PI()/3) | COS(RADIANS(90)) | > --------+-------------+------------------+ > 1 | 0.5 | 6.123233996e-17 | > --------+-------------+------------------+ > ...
snowflake_docs/system_generate_scim_access_token_1_0.txt
SYSTEM$GENERATE_SCIM_ACCESS_TOKEN ¶ Returns a new SCIM access token that is valid for six months.
snowflake_docs/st_geompointfromgeohash_1_0.txt
ST_GEOMPOINTFROMGEOHASH ¶ geometry) object for the point that represents center of a [ geohash See also:
snowflake_docs/atan2_2_0.txt
Syntax ¶ ATAN2( <y> , <x> ) Copy Note that the first parameter is the Y coordinate, not the X coordinate.
snowflake_docs/system_get_tag_on_current_table_1_0.txt
SYSTEM$GET_TAG_ON_CURRENT_TABLE ¶ Returns the tag string value assigned to the table based upon the specified tag or NULL if a tag is not assigned to the specified table. intro) conditions.
snowflake_docs/functions-analytic_24_0.txt
Rank-related Function Examples ¶ The following example shows how to rank salespeople based on the total amount (in dollars) that each has sold. The query uses the ` OVER ` clause to create a window that contains the total sales of each salesperson. The ` ORDER BY ` subclause within the ` OVER ` clause puts those...