id
stringlengths
16
145
text
stringlengths
1
179k
title
stringclasses
1 value
snowflake_docs/list_12_0.txt
Examples ¶ For a representative example, see the [ custom classification example example) . Was this page helpful? Yes No Inc. All Rights Reserved . On this page 1. Syntax 2. Arguments 3. Output 4. Access control requirements 5. Usage notes 6. Examples Language : **English**
snowflake_docs/functions-all_2_1.txt
ne data type into another data type. | | Returns the cubic root of a numeric expression. | | Returns values from ` _ input_expr _ ` rounded to the nearest equal or larger integer, or to the nearest equal or larger value with the specified number of places after the decimal point. | | Searches for the first occurrence ...
snowflake_docs/system_enable_behavior_change_bundle_2_0.txt
Syntax ¶ SYSTEM$ENABLE_BEHAVIOR_CHANGE_BUNDLE( '<bundle_name>' ) Copy
snowflake_docs/drop-database-role_1_0.txt
DROP DATABASE ROLE ¶ Removes the specified database role from the system. See also:
snowflake_docs/timediff_4_0.txt
Returns ¶ Returns an integer representing the number of units (seconds, days, etc.) difference between ` _ date_or_time_expr2 _ ` and ` _ date_or_time_expr1 _ ` .
snowflake_docs/current_task_graphs_9_0.txt
label-task-dag) is/was originally scheduled to start running. Format is epoch time (in milliseconds). . . _Original_ scheduled time refers to rare instances when the system may reschedule the same task to run at a different time to retry it or rebalance the load. If that happens, RUN_ID shows the original scheduled ...
snowflake_docs/extract_1_0.txt
EXTRACT ¶ Extracts the specified date or time part from a date, time, or timestamp.
snowflake_docs/months_between_1_0.txt
MONTHS_BETWEEN ¶ Returns the number of months between two DATE or TIMESTAMP values. For example, ` MONTHS_BETWEEN('2020-02-01'::DATE, '2020-01-01'::DATE) ` returns 1.0. See also:
snowflake_docs/system_migrate_saml_idp_registration_2_0.txt
Syntax ¶ SYSTEM$MIGRATE_SAML_IDP_REGISTRATION( '<integration_name>', '<issuer>' ) Copy
snowflake_docs/array_to_string_3_0.txt
Arguments ¶ ` _ array _ ` The array of elements to convert to a string. ` _ separator_string _ ` The string to put between each element, typically a space, comma, or other human-readable separator.
snowflake_docs/account-usage_23_0.txt
Examples: User Query Totals and Execution Times ¶ Total jobs executed in your account (month-to-date): > > select count(*) as number_of_jobs > from query_history > where start_time >= date_trunc(month, current_date); > > > Copy Total jobs executed by each warehouse in your account (month-to-date): > > ...
snowflake_docs/div0null_3_0.txt
Arguments ¶ ` _ dividend _ ` Numeric expression that evaluates to the value that you want to divide. ` _ divisor _ ` Numeric expression that evaluates to the value that you want to divide by.
snowflake_docs/conditional_change_event_5_2.txt
ue_event > FROM table1 > ORDER BY province, o_col > ; > +----------+-------+--------------+------------+ > | PROVINCE | O_COL | CHANGE_EVENT | TRUE_EVENT | > |----------+-------+--------------+------------| > | Alberta | 0 | 0 | 0 | > | Alberta | ...
snowflake_docs/current_client_3_0.txt
Usage Notes ¶ * The Worksheet in the Snowflake web interface connects to Snowflake directly through the interface; it doesn’t use the JDBC or ODBC driver. As such, calling CURRENT_CLIENT in the Worksheet returns a different value than calling the function from a client application.
snowflake_docs/create-view_12_0.txt
Porting Notes ¶ * Some vendors support the ` FORCE ` keyword: > > CREATE OR REPLACE FORCE VIEW ... > > > Copy Snowflake accepts the ` FORCE ` keyword, but does not support it. In other words, you do not get a syntax error if you use this keyword, but using ` FORCE ` does not force the creation of a view ...
snowflake_docs/create-hybrid-table_6_0.txt
Optional Parameters ¶ ` DEFAULT ... ` or . ` AUTOINCREMENT ... ` Specifies whether a default value is automatically inserted in the column if a value is not explicitly specified via an INSERT or CREATE HYBRID TABLE AS SELECT statement: > ` DEFAULT _ expr _ ` > > > Column default value is defined by the spe...
snowflake_docs/insert_3_0.txt
Required Parameters ¶ ` _ target_table _ ` Specifies the target table into which to insert rows. ` VALUES ( _ value _ | DEFAULT | NULL [ , ... ] ) [ , ( ... ) ] ` Specifies one or more values to insert into the corresponding columns in the target table. In a ` VALUES ` clause, you can specify the ...
snowflake_docs/data-types-structured_7_0.txt
Converting Structured and Semi-Structured Types ¶ structured OBJECTs, structured ARRAYs, and MAPs to semi-structured OBJECTs, ARRAYs, and VARIANTs (and vice versa). Source Data Type | Target Data Type | | ---|---|---|--- Semi-Structured ARRAY | Structured ARRAY | ✔ | ❌ Semi-Structured OBJECT | * Structured OBJ...
snowflake_docs/try_to_double_4_0.txt
Examples ¶ This demonstrates usage of ` TRY_TO_DOUBLE ` : > > SELECT TRY_TO_DOUBLE('3.1415926'), TRY_TO_DOUBLE('Invalid'); > +----------------------------+--------------------------+ > | TRY_TO_DOUBLE('3.1415926') | TRY_TO_DOUBLE('INVALID') | > |----------------------------+-------------------------...
snowflake_docs/all_user_names_3_0.txt
Arguments ¶ None.
snowflake_docs/grant-privilege-share_0_0.txt
/ 1. User Management 7. Database Role Management 16. Account-level Role Management 25. Privilege Management GRANT <privilege> ... TO SHARE
snowflake_docs/alter-application-package_3_0.txt
Parameters ¶ ` _ name _ ` Specifies the identifier for the application package to alter. 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. ` SET ` Specifies one (or mor...
snowflake_docs/alter-stage_12_1.txt
e : Data loading only Definition : String used to convert to and from SQL NULL. Snowflake replaces these strings in the data load source with SQL NULL. To specify more than one string, enclose the list of strings in parentheses and use commas to separate each value. This file format option is applied to the following...
snowflake_docs/parameters_98_0.txt
TIMESTAMP_TZ_OUTPUT_FORMAT ¶ Type : Session — Can be set for Account » User » Session Data Type : String Description : Specifies the display format for the TIMESTAMP_TZ data type. If no format is specified, defaults to TIMESTAMP_OUTPUT_FORMAT . For more information, see [ Values : Any valid, supported timestam...
snowflake_docs/class_instance_functions_4_0.txt
Examples ¶ Retrieve the functions for class instances in the ` mydatabase ` database: SELECT function_name, function_instance_name AS instance_name, argument_signature, data_type AS return_value_data_type FROM mydatabase.INFORMATION_SCHEMA.CLASS_INSTANCE_FUNCTIONS; Copy ...
snowflake_docs/data-types-semistructured_9_0.txt
Characteristics of an OBJECT ¶ In a Snowflake semi-structured OBJECT, each key is a VARCHAR, and each value is a VARIANT . Because VARIANT can store any other data type, different values (in different key-value pairs) can have different underlying data types. For example, an OBJECT can hold a person’s name as a VA...
snowflake_docs/regr_slope_2_0.txt
Syntax ¶ **Aggregate function** REGR_SLOPE(y, x) Copy **Window function** REGR_SLOPE(y, x) OVER ( [ PARTITION BY <expr3> ] ) Copy
snowflake_docs/summarize-snowflake-cortex_4_0.txt
Arguments ¶ ` _ text _ ` A string containing the English text from which a summary should be generated.
snowflake_docs/drop-image-repository_1_0.txt
DROP IMAGE REPOSITORY ¶ > services/overview) is available to all Snowflake accounts in AWS commercial > regions except for trial accounts. container-services/tutorials/tutorial-1) from the current or specified schema. See also:
snowflake_docs/sha2_5_0.txt
Usage Notes ¶ * Do not use this function to encrypt a message that you need to decrypt. This function has no corresponding decryption function. (The length of the output is independent of the length of the input. The output does not necessarily have enough bits to hold all of the information from the input, so it ...
snowflake_docs/snowpipe_streaming_client_history_1_0.txt
SNOWPIPE_STREAMING_CLIENT_HISTORY view ¶ This Account Usage view can be used to query the amount of time spent loading guide/data-load-snowpipe-streaming-overview) within the last 365 days (1 year). The view displays the amount of data loaded and timestamp of the Snowpipe Streaming client calls for your entire Snowf...
snowflake_docs/revoke-privilege-application-role_4_0.txt
Optional parameters ¶ ` FUTURE ` If specified, only removes privileges granted on new (i.e. future) schema objects of a specified type (e.g. tables or views) rather than existing objects. Note that any privileges granted on existing objects are retained. ` RESTRICT | CASCADE ` If specified, determines whether th...
snowflake_docs/desc-event-table_1_0.txt
DESCRIBE EVENT TABLE ¶ tracing/event-table-setting-up) . DESCRIBE can be abbreviated to DESC. See also:
snowflake_docs/create-masking-policy_11_1.txt
RETURNS variant > LANGUAGE JAVASCRIPT > AS > $$ > if ("latitude" in V) { > V["latitude"] = "**latitudeMask**"; > } > if ("longitude" in V) { > V["longitude"] = "**longitudeMask**"; > } > if ("location" in V) { > V["location"] ...
snowflake_docs/match_recognize_2_0.txt
Syntax ¶ MATCH_RECOGNIZE ( [ PARTITION BY <expr> [, ... ] ] [ ORDER BY <expr> [, ... ] ] [ MEASURES <expr> [AS] <alias> [, ... ] ] [ ONE ROW PER MATCH | ALL ROWS PER MATCH [ { SHOW EMPTY MATCHES | OMIT EMPTY MATCHES | WITH UNMATCHED ROWS } ] ] [ AFTER M...
snowflake_docs/account-usage_9_0.txt
READER_ACCOUNT_USAGE Views ¶ The READER_ACCOUNT_USAGE schema contains the following views: View | Type | Latency [1] | Notes ---|---|---|--- | Historical | 2 hours | Data retained for 1 year. | Historical | 45 minutes | Data retained for 1 year. | Object | 2 hours | | Historical | 2 hours | Combined usage...
snowflake_docs/create-budget_7_0.txt
label-access-control-overview- privileges) at a minimum: Privilege / Role | Object | Notes ---|---|--- CREATE SNOWFLAKE.CORE.BUDGET privilege | Schema | The role used to create a budget must be granted this privilege on the schema in which the budget is created. access-control-considerations.html
snowflake_docs/show-release-directives_2_0.txt
Syntax ¶ SHOW RELEASE DIRECTIVES [ LIKE '<pattern>' ] IN APPLICATION PACKAGE <name> Copy
snowflake_docs/comment_3_0.txt
Usage Notes ¶ * In addition to this command, a comment can be added when creating or altering an object: > > * The ` COMMENT ` parameter can also be used in the [ ALTER <object> * A slightly different syntax is used for adding comments to table columns: > * A comment can be added at creation by follow...
snowflake_docs/desc-user_1_0.txt
DESCRIBE USER ¶ Describes a user, including the current values for the user’s properties, as well as the default values. DESCRIBE can be abbreviated to DESC. See also:
snowflake_docs/show-functions_4_0.txt
Output ¶ The command output provides function properties and metadata in the following columns: Column | Description ---|--- ` created_on ` | The timestamp at which the function was created. ` name ` | The function’s name. ` schema_name ` | The name of the schema that the function exists in. (NULL for bui...
snowflake_docs/nth_value_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/strip_null_value_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/execute-immediate_6_0.txt
Returns ¶ EXECUTE IMMEDIATE returns the result of the executed statement. For example, if the string or variable contained a SELECT statement, the result set of the SELECT statement is returned.
snowflake_docs/collate_5_0.txt
Usage Notes ¶ Each ` VARCHAR ` contains a property that holds the collation specifier to use when comparing that ` VARCHAR ` to another ` VARCHAR ` . The ` COLLATE ` function copies the string, but puts the new collation specification rather than the original specification into the copy. The string itself is unch...
snowflake_docs/alter-stream_4_0.txt
Usage Notes ¶ Regarding metadata: > Attention > > Customers should ensure that no personal data (other than for a User > object), sensitive data, export-controlled data, or other regulated data is > entered as metadata when using the Snowflake service. For more information,
snowflake_docs/st_intersection_agg_3_0.txt
Arguments ¶ ` _ geography_column _ ` A GEOGRAPHY column.
snowflake_docs/stddev_pop_5_0.txt
Usage Notes ¶ * When passed a VARCHAR expression, this function implicitly casts the input to floating point values. If the cast cannot be performed, an error is returned. * When this function is called as a window function and the OVER clause contains an ORDER BY clause: * The DISTINCT keyword is prohibit...
snowflake_docs/drop-task_1_0.txt
DROP TASK ¶ Removes a task from the current/specified schema. See also:
snowflake_docs/current_account_4_0.txt
Syntax ¶ CURRENT_ACCOUNT() Copy
snowflake_docs/show-alerts_6_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/to_array_6_0.txt
Examples ¶ This example shows how to use ` TO_ARRAY() ` : > Create a simple table, and insert data by calling the ` TO_ARRAY ` > function: > >> >> CREATE TABLE array_demo_2 (ID INTEGER, array1 ARRAY, array2 ARRAY); >> >> >> Copy >> >> >> INSERT INTO array_demo_2 (ID, array1, array2) >> SELECT...
snowflake_docs/insert_10_0.txt
Multi-row Insert for JSON Data ¶ Insert two JSON objects into a VARIANT column in a table: > > INSERT INTO prospects > SELECT PARSE_JSON(column1) > FROM VALUES > ('{ > "_id": "57a37f7d9e2b478c2d8a608b", > "name": { > "first": "Lydia", > "last": "Williamson" >...
snowflake_docs/create-iceberg-table_4_0.txt
External Iceberg catalog ¶ -- External Iceberg catalog CREATE [ OR REPLACE ] ICEBERG TABLE [ IF NOT EXISTS ] <table_name> [ EXTERNAL_VOLUME = '<external_volume_name>' ] [ CATALOG = '<catalog_integration_name>' ] externalCatalogParams [ [ WITH ] TAG ( <tag_name> = '<tag_value>' [ , <ta...
snowflake_docs/create-procedure_27_0.txt
label-access-control-overview-privileges) at a minimum: Privilege | Object | Notes ---|---|--- CREATE PROCEDURE | Schema | USAGE | Procedure | Granting the USAGE privilege on the newly created procedure to a role allows users with that role to call the procedure elsewhere in Snowflake. USAGE | External access i...
snowflake_docs/current_task_graphs_5_0.txt
Output ¶ The function returns the following columns: Column Name | Data Type | Description ---|---|--- ROOT_TASK_NAME | TEXT | Name of the root task. DATABASE_NAME | TEXT | Name of the database that contains the graph. SCHEMA_NAME | TEXT | Name of the schema that contains the graph. STATE | TEXT | State of...
snowflake_docs/rtrimmed_length_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/alter-connection_5_0.txt
Examples ¶ Allow accounts ` myaccount2 ` and ` myaccount3 ` in the ` myorg ` organization to each store a secondary connection for the ` myconnection ` connection: ALTER CONNECTION myconnection ENABLE FAILOVER TO ACCOUNTS myorg.myaccount2, myorg.myaccount3; Copy Add a comment for a connection: ALTER CONN...
snowflake_docs/show-models_5_0.txt
Usage Notes ¶ Results are sorted by database name, schema name, and then model name. This means results for a database can contain models from multiple schemas and might break pagination. In order for pagination to work as expected, you must execute the SHOW MODELS statement for a single schema. You can use the IN S...
snowflake_docs/create-external-function_4_0.txt
Optional Parameters ¶ ` SECURE ` Specifies that the function is secure. If a function is secure, the URL, the HTTP headers, and the context headers are hidden from all users who are not owners of the function. ` [ [ NOT ] NULL ] ` This clause indicates whether the function can return NULL values or must retur...
snowflake_docs/desc-masking-policy_8_0.txt
Example ¶ DESC MASKING POLICY ssn_mask; Copy +-----+------------+---------------+-------------------+-----------------------------------------------------------------------+ | Row | name | signature | return_type | body | ...
snowflake_docs/st_area_5_0.txt
Returns ¶ Returns a REAL value, which represents the area: * For GEOGRAPHY input values, the area is in square meters. * For GEOMETRY input values, the area is computed with the same units used to define the input coordinates.
snowflake_docs/as_time_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/show-release-directives_3_0.txt
Parameters ¶ ` _ name _ ` Specifies the identifier of the application package. ` LIKE ' _ pattern _ ' ` Optionally filters the command output by the version name specified in the application package. The filter uses case-insensitive pattern matching, with support for SQL wildcard characters ( ` % ` and ` _ ...
snowflake_docs/show-regions_3_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/show-password-policies_5_0.txt
Access control requirements ¶ access-control-overview-roles) used to execute this SQL command must have at control-overview.html
snowflake_docs/create-stream_13_0.txt
Creating a Table Stream ¶ Create a stream on the ` mytable ` table: CREATE STREAM mystream ON TABLE mytable; Copy
snowflake_docs/conditional_change_event_3_0.txt
Arguments ¶ ` _ expr1 _ ` This is an expression that gets compared with the expression of the previous row. ` _ expr2 _ ` This is the optional expression to partition by. ` _ expr3 _ ` This is the expression to order by within each partition.
snowflake_docs/show-services_7_0.txt
Access control requirements ¶ access-control-overview-roles) used to execute this SQL command must have at control-overview.html
snowflake_docs/array_append_5_0.txt
Usage Notes ¶
snowflake_docs/alter-api-integration_2_0.txt
Syntax ¶ ALTER [ API ] INTEGRATION [ IF EXISTS ] <name> SET [ API_AWS_ROLE_ARN = '<iam_role>' ] [ AZURE_AD_APPLICATION_ID = '<azure_application_id>' ] [ API_KEY = '<api_key>' ] [ ENABLED = { TRUE | FALSE } ] [ API_ALLOWED_PREFIXES = ('<...>') ] [ API_BLOCKED_PREFIXES = ('<...>...
snowflake_docs/alter-model-add-version_0_0.txt
/ 1. Models 6. Versions MODEL ... ADD VERSION
snowflake_docs/create-external-table_2_1.txt
[ , '<string2>' , ... ] ) > EMPTY_FIELD_AS_NULL = TRUE | FALSE > ENCODING = '<string>' > -- If FILE_FORMAT = ( TYPE = JSON ... ) > COMPRESSION = AUTO | GZIP | BZ2 | BROTLI | ZSTD | DEFLATE | > RAW_DEFLATE | NONE > ALLOW_DUPLICATE = TRUE | FALSE > STRIP_OUTER_ARRAY = TRU...
snowflake_docs/bitand_agg_5_0.txt
Usage Notes ¶ * Numeric values are aggregated to the nearest integer data type. Decimal and floating point values are rounded to the nearest integer before aggregation. * Aggregating a character/text column (data type VARCHAR, CHAR, STRING, etc.) implicitly casts the input values to FLOAT, then rounds the value...
snowflake_docs/regexp_replace_5_0.txt
Usage Notes ¶ * The replacement string can contain backreferences to capture groups (i.e. sub-expressions of the pattern). A capture group is a regular expression that is enclosed within parentheses ( ` ( ) ` ). The maximum number of capture groups is 9. Backreferences match expressions inside a capture group. ...
snowflake_docs/system_revoke_stage_privatelink_access_6_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 Azure. This function is not supported for Snowflake accounts on Amazon Web Services or Google Cloud Platform.
snowflake_docs/commands-privacy_0_0.txt
/ 1. Aggregation Policy 7. Projection Policy commands) Privacy
snowflake_docs/alter-external-access-integration_5_0.txt
label-access-control-overview-privileges) at a minimum: Privilege | Object | Notes ---|---|--- OWNERSHIP | Integration | OWNERSHIP is a special privilege on an object that is automatically granted to the role that created the object, but can also be transferred using the [ role (or any role with the MANAGE GRANTS p...
snowflake_docs/alter-notification-integration_3_0.txt
Parameters ¶ ` _ name _ ` Identifier for 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 the tab...
snowflake_docs/alter-notification-integration_1_0.txt
ALTER NOTIFICATION INTEGRATION ¶ Modifies the properties for an existing notification integration. See also:
snowflake_docs/h3_latlng_to_cell_string_4_0.txt
Returns ¶ Returns an VARCHAR value corresponding to the hexadecimal H3 cell ID for the given location and resolution.
snowflake_docs/create-function_50_0.txt
SQL ¶ Create a simple SQL scalar UDF that returns a hard-coded approximation of the mathematical constant pi: CREATE FUNCTION pi_udf() RETURNS FLOAT AS '3.141592654::FLOAT' ; Copy Create a simple SQL table UDF that returns hard-coded values: CREATE FUNCTION simple_table_function () RE...
snowflake_docs/listing-access-history_10_0.txt
, "columnName": "column4_name" } ], "objectDomain":"TABLE", "objectId":
snowflake_docs/info-schema_1_0.txt
Snowflake Information Schema ¶ The Snowflake Information Schema (aka “Data Dictionary”) consists of a set of system-defined views and table functions that provide extensive metadata information about the objects created in your account. The Snowflake Information Schema is based on the SQL-92 ANSI Information Schema,...
snowflake_docs/create-storage-integration_7_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/policy_context_1_0.txt
POLICY_CONTEXT ¶ Simulates the query result for table or view columns protected by a [ masking the table or view is protected by both types of policies.
snowflake_docs/object_keys_8_0.txt
label-data-type-variant) that contains a value of type OBJECT. > semistructured.html
snowflake_docs/st_makepolygonoriented_2_0.txt
Syntax ¶ ST_MAKEPOLYGONORIENTED( <geography_expression> ) Copy
snowflake_docs/alter-network-policy_2_0.txt
Syntax ¶ ALTER NETWORK POLICY [ IF EXISTS ] <name> SET { [ ALLOWED_NETWORK_RULE_LIST = ( '<network_rule>' [ , '<network_rule>' , ... ] ) ] [ BLOCKED_NETWORK_RULE_LIST = ( '<network_rule>' [ , '<network_rule>' , ... ] ) ] [ ALLOWED_IP_LIST = ( [ '<ip_address>' ] [ , '<ip_address>' ... ] ) ...
snowflake_docs/functions-regexp_11_0.txt
Example of Using Metacharacters in a Single-Quoted String Constant ¶ This example uses the backslash as part of an escape sequence in a regular expression that searches for a question mark ( ` ? ` ). > Create a table and insert a row that contains a single backslash in one > column and a question mark in another co...
snowflake_docs/from_7_0.txt
Hierarchical Query Result ¶ ` _ hierarchical_query_result _ ` A hierarchical query result is the result set from using a clause such as CONNECT BY to query a table of hiearchical data. For more details, see [
snowflake_docs/random_0_0.txt
/ 1. Random 5. Controlled Distribution reference/functions-data-generation) RANDOM Categories:
snowflake_docs/st_intersects_4_0.txt
Arguments ¶ ` _ geography_expression_1 _ ` A GEOGRAPHY object. ` _ geography_expression_2 _ ` A GEOGRAPHY object. ` _ geometry_expression_1 _ ` A GEOMETRY object. ` _ geometry_expression_2 _ ` A GEOMETRY object.
snowflake_docs/desc-network-policy_2_0.txt
Syntax ¶ DESC[RIBE] NETWORK POLICY <name> Copy
snowflake_docs/degrees_2_0.txt
Syntax ¶ DEGREES( <real_expr> ) Copy
snowflake_docs/localtimestamp_6_0.txt
Examples ¶ Show the current local time and local timestamp: > > SELECT LOCALTIME(), LOCALTIMESTAMP(); > > > Copy > > > +-------------+-------------------------------+ > | LOCALTIME() | LOCALTIMESTAMP() | > +-------------+-------------------------------+ > | 17:18:02 | 2018-0...
snowflake_docs/show-connections_6_0.txt
Examples ¶ Show all the connections whose name starts with ` test ` : > > SHOW CONNECTIONS LIKE 'test%'; > > > Copy Was this page helpful? Yes No Inc. All Rights Reserved . On this page 1. Syntax 2. Parameters 3. Usage Notes 4. Output 5. Examples Language : **English**
snowflake_docs/loop_3_0.txt
Usage Notes ¶ * A ` LOOP ` repeats until a ` BREAK ` or ` RETURN ` is executed. The ` BREAK ` or ` RETURN ` command is almost always inside a conditional expression (e.g. ` IF ` or ` CASE ` ).
snowflake_docs/hex_decode_string_5_0.txt
Examples ¶ The following decodes a sequence of hexadecimal digits into the corresponding word: SELECT HEX_DECODE_STRING('536E6F77666C616B65'); -----------------------------------------+ HEX_DECODE_STRING('536E6F77666C616B65') | -----------------------------------------+ Snowflake ...
snowflake_docs/alter-failover-group_21_0.txt
Executed from the target account ¶ Refresh objects in the failover group ` myfg ` in the target account: ALTER FAILOVER GROUP myfg REFRESH; Copy Promote the secondary failover group in the current target account to primary: ALTER FAILOVER GROUP myfg PRIMARY; Copy Suspend automatic refreshes: ALTER FAILO...