id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
snowflake_docs/show-replication-groups_2_0.txt | Syntax ¶
SHOW REPLICATION GROUPS [ IN ACCOUNT <account> ]
Copy
| |
snowflake_docs/alter-replication-group_12_0.txt | | | | ____ month (1-12, JAN-DEC)
| |
snowflake_docs/approx_percentile_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/system_start_oauth_flow_2_0.txt | Syntax ¶
SYSTEM$START_OAUTH_FLOW( '<database_name.schema_name.secret_name>' )
Copy
| |
snowflake_docs/system_clustering_ratio_3_0.txt | Arguments ¶
` _ table_name _ `
Table for which you want to calculate the clustering ratio.
` _ col1 _ [ , _ col2 _ ... ] `
Column(s) in the table used to calculate the clustering ratio:
* For a table with no clustering key, this argument is required. If this argument is omitted, an error is returned.
* F... | |
snowflake_docs/get_ddl_10_1.txt | |
> +---------------------------------------------------+
>
>
> Copy
Return the DDL to create a masking policy named ` employee_ssn_mask ` to mask
social security numbers. Masked values are seen unless the user’s current role
is PAYROLL.
>
> select get_ddl('policy', 'employee_ssn_mask');
>
>
> -----------... | |
snowflake_docs/drop-alert_9_0.txt | Examples ¶
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Required Parameters
3. Access Control Requirements
4. Usage Notes
5. Examples
Related content
Language : **English** | |
snowflake_docs/object_privileges_2_0.txt | Columns ¶
Column Name
|
Data Type
|
Description
---|---|---
GRANTOR
|
TEXT
|
Role who granted the privilege
GRANTEE
|
TEXT
|
Role to whom the privilege is granted
OBJECT_CATALOG
|
TEXT
|
Database containing the object on which the privilege is granted
OBJECT_SCHEMA
|
TEXT
|
Schema containing the object on ... | |
snowflake_docs/show-authentication-policies_4_0.txt | label-access-control-overview-privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
APPLY AUTHENTICATION POLICY
|
Account
|
Only the SECURITYADMIN role, or a higher role, has this privilege by default.
The privilege can be granted to additional roles as needed.
OWNERSHIP
|
Authentication policy
|
OWNER... | |
snowflake_docs/with_5_0.txt | General Usage ¶
* A WITH clause can refer recursively to itself, and to other CTEs that appear earlier in the same clause. For instance, ` _ cte_name2 _ ` can refer to ` _ cte_name1 _ ` and itself, while ` _ cte_name1 _ ` can refer to itself, but not to ` _ cte_name2 _ ` .
* You can mix recursive and non-re... | |
snowflake_docs/alter-stage_2_1.txt | EFLATE | RAW_DEFLATE |
> NONE
> TRIM_SPACE = TRUE | FALSE
> REPLACE_INVALID_CHARACTERS = TRUE | FALSE
> NULL_IF = ( '<string>' [ , '<string>' ... ] )
> -- If TYPE = ORC
> TRIM_SPACE = TRUE | FALSE
> REPLACE_INVALID_CHARACTERS = TRUE | FALSE
> NULL_IF = ( '<strin... | |
snowflake_docs/copy-into-table_24_0.txt | Reloading files ¶
Add ` FORCE = TRUE ` to a COPY command to reload (duplicate) data from a
set of staged data files that have not changed (i.e. have the same checksum as
when they were first loaded).
In the following example, the first command loads the specified files and the
second command forces the same files... | |
snowflake_docs/system_typeof_4_0.txt | Returns ¶
Returns a VARCHAR that contains the data type of the input expression, for
example, ` BOOLEAN ` , ` DECIMAL ` , ` ARRAY ` , ` OBJECT ` , etc.
| |
snowflake_docs/desc-file-format_5_0.txt | Examples ¶
Describe the named file format ` my_csv_format ` :
>
> DESC FILE FORMAT my_csv_format;
>
>
> Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Parameters
3. Usage Notes
4. Examples
Language : **English** | |
snowflake_docs/h3_grid_disk_5_0.txt | Returns ¶
Returns an ARRAY of the IDs of H3 cells that are within the distance ` _
k_value _ ` from the cell specified by ` _ cell_id _ ` . The IDs are in one
of the following formats:
* If ` _ cell_id _ ` is an INTEGER value, the function returns the IDs as INTEGER values.
* If ` _ cell_id _ ` is a VARCHAR... | |
snowflake_docs/st_geomfromgeohash_5_1.txt | | |
| ], | |
| "type": "Polygon" | |
| } | |
+------------------------------------+-----------------+
Was this page helpful?
Yes No
Inc. All... | |
snowflake_docs/show-network-rules_9_0.txt | Usage notes ¶
* Columns that start with the prefix ` is_ ` return either ` Y ` (yes) or ` N ` (no).
* The command does not require a running warehouse to execute.
* The command returns a maximum of 10K records for the specified object type, as dictated by the access privileges for the role used to execu... | |
snowflake_docs/get_presigned_url_8_0.txt | Querying the function ¶
SELECT GET_PRESIGNED_URL(@images_stage, 'us/yosemite/half_dome.jpg', 3600);
+================================================================================================================================================================================================================... | |
snowflake_docs/parse_json_3_0.txt | Arguments ¶
` _ expr _ `
An expression of string type (e.g. VARCHAR) that holds valid JSON information.
| |
snowflake_docs/create-managed-account_4_0.txt | label-snowflake-password-policy) .
` TYPE = READER `
Specifies the type of managed account. Currently, the only type supported is `
READER ` (i.e. reader accounts used for data sharing).
| |
snowflake_docs/system_authorize_stage_privatelink_access_0_0.txt | /
1. Control
29. Information
90. Query Information
SYSTEM$AUTHORIZE_STAGE_PRIVATELINK_ACCESS
Categories:
| |
snowflake_docs/parameters_72_0.txt | PREVENT_UNLOAD_TO_INTERNAL_STAGES ¶
Type :
User — Can be set for Account » User
Data Type :
Boolean
Description :
Specifies whether to prevent data unload operations to internal (Snowflake)
Values :
` TRUE ` : Unloading data from Snowflake tables to any internal stage,
including user stages, table stages, or na... | |
snowflake_docs/insert_9_0.txt | Multi-row Insert Using Query ¶
Insert multiple rows of data from the ` contractors ` table into the `
employees ` table:
> * Select only those rows where the ` worknum ` column contains area code
> ` 650 ` .
>
> * Insert a NULL value in the ` city ` column.
>
>
>
>
> SELECT * FROM employees;
>
>
>... | |
snowflake_docs/st_ymax_2_0.txt | Syntax ¶
ST_YMAX( <geography_or_geometry_expression> )
Copy
| |
snowflake_docs/show-event-tables_3_0.txt | Parameters ¶
` TERSE `
Optionally returns only a subset of the output columns:
* ` created_on `
* ` name `
* ` 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 filter uses ... | |
snowflake_docs/current_account_0_0.txt | /
1. General
14. Session
29. Session Object
41. Alert
context) CURRENT_ACCOUNT
Categories:
| |
snowflake_docs/alter-stage_7_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/rlike_9_0.txt | Second Syntax ¶
Case-sensitive pattern matching:
>
> SELECT * FROM rlike_ex WHERE city RLIKE 'San.* [fF].*';
>
>
> Copy
>
>
> +---------------+
> | CITY |
> |---------------|
> | San Francisco |
> +---------------+
>
| |
snowflake_docs/drop-projection-policy_1_0.txt | DROP 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 cur... | |
snowflake_docs/top_insights_2_0.txt | Syntax ¶
SNOWFLAKE.ML.TOP_INSIGHTS(
<categorical_dimensions>, <continuous_dimensions>,
<metric>, <label> )
Copy
| |
snowflake_docs/select_13_0.txt | Selecting All Columns in the Table ¶
This example shows how to select all columns in ` employee_table ` :
SELECT * FROM employee_table;
Copy
+-------------+------------+------------+---------------+
| EMPLOYEE_ID | LAST_NAME | FIRST_NAME | DEPARTMENT_ID |
|-------------+------------+------------+--... | |
snowflake_docs/create-security-integration-scim_9_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, see [
* CREATE OR REPLACE _ <object> _ statem... | |
snowflake_docs/create-database-role_0_0.txt | /
1. User Management
7. Database Role Management
16. Account-level Role Management
25. Privilege Management
CREATE DATABASE ROLE
| |
snowflake_docs/show-tables_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 TABLES
| |
snowflake_docs/execute-alert_9_0.txt | Examples ¶
The following statement manually triggers an alert named ` myalert ` :
EXECUTE ALERT myalert;
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/create-stream_8_0.txt | label-access-control-overview-privileges) at a minimum:
Streams on standard tables:
> Object
>
> |
>
> Privilege
>
> |
>
> Notes
>
> ---|---|---
>
> Schema
>
> |
>
> CREATE STREAM
>
> |
>
> Table
>
> |
>
> SELECT
>
> |
>
> If change tracking has not been enabled on the source table (using [ ALTER
> owner (i... | |
snowflake_docs/datediff_2_0.txt | Syntax ¶
_For DATEDIFF_
DATEDIFF( <date_or_time_part>, <date_or_time_expr1>, <date_or_time_expr2> )
Copy
_For minus sign_
<date_expr2> - <date_expr1>
Copy
| |
snowflake_docs/desc-stage_3_0.txt | Parameters ¶
` _ name _ `
Specifies the identifier for the stage to describe. If the identifier contains
spaces or special characters, the entire string must be enclosed in double
quotes. Identifiers enclosed in double quotes are also case-sensitive.
| |
snowflake_docs/transactions_25_0.txt | Transaction Commands and Functions ¶
Snowflake provides the following SQL commands to support transactions:
In addition, Snowflake provides the following context functions for obtaining
information about transactions in a session:
| |
snowflake_docs/arrays_to_object_4_0.txt | Arguments ¶
` _ key_array _ `
ARRAY of VARCHAR values that specify the keys for the new OBJECT.
` _ value_array _ `
ARRAY of values for the new OBJECT. This ARRAY must be the same length as ` _
key_array _ ` . The values in this ARRAY should correspond to the keys in ` _
key_array _ ` .
| |
snowflake_docs/into_1_0.txt | INTO ¶
scripting/variables) to the values in a row returned by a SELECT statement.
See [ Setting Variables to the Results of a SELECT Statement
variables-select-into) for details.
| |
snowflake_docs/regr_r2_2_0.txt | Syntax ¶
**Aggregate function**
REGR_R2(y, x)
Copy
**Window function**
REGR_R2(y, x) OVER ( [ PARTITION BY <expr3> ] )
Copy
| |
snowflake_docs/array_flatten_5_0.txt | Usage Notes ¶
* If ` _ array _ ` contains multiple levels of nested ARRAYs, the function only removes one level of nesting.
For example, if the input ARRAY is:
[ [ [1, 2], [3] ], [ [4], [5] ] ]
The function returns:
[ [1, 2], [3], [4], [5] ]
Copy
| |
snowflake_docs/system_wait_4_0.txt | Usage Notes ¶
* The function must be called as a system function.
* Most systems do not have clocks that have nanosecond precision. As a result:
> * The actual wait time might not be exactly the same as the specified
> wait time.
>
> * The reported wait time might not be exact.
* SYSTEM$WAIT checks p... | |
snowflake_docs/create-database-role_6_0.txt | Access control requirements ¶
access-control-overview-roles) used to execute this SQL command must have the
overview.html | |
snowflake_docs/base64_decode_binary_1_0.txt | BASE64_DECODE_BINARY ¶
Decodes a Base64-encoded string to a binary.
See also:
| |
snowflake_docs/drop-application-package_4_0.txt | Usage Notes ¶
* An application package can only be dropped if it is not currently associated with a listing.
* After you run this command, the application package is dropped and becomes unavailable within the provider account.
Any application created from the application package remains visible to the
consumer... | |
snowflake_docs/alter-user_6_0.txt | Session Parameters ( ` sessionParams ` ) ¶
` SET _ session_param_name _ = _ param_value _ [ ... ] ` , . ` UNSET
_ session_param_name _ [ , ... ] `
Specifies one (or more) session parameters to set or unset for the user.
Unsetting a session parameter resets it back to the default.
For more details abou... | |
snowflake_docs/create-streamlit_3_0.txt | Required Parameters ¶
` _ name _ `
Specifies the identifier (i.e. name) for the Streamlit object. This identifier
must be unique for the schema in which the table is created.
In addition, the identifier must start with an alphabetic character and cannot
contain spaces or special characters unless the entire identif... | |
snowflake_docs/dense_rank_5_0.txt | Examples ¶
Create a table and data:
>
> -- Create table and load data.
> create or replace table corn_production (farmer_ID INTEGER, state
> varchar, bushels float);
> insert into corn_production (farmer_ID, state, bushels) values
> (1, 'Iowa', 100),
> (2, 'Iowa', 110),
> (3, 'Kan... | |
snowflake_docs/invoker_role_4_0.txt | Usage notes ¶
* The following table summarizes the relationship between the query context and the role the function evaluates.
Context
|
Evaluated role
---|---
User
|
Table
|
CURRENT_ROLE.
View
|
View owner role.
UDF
|
UDF owner role.
Stored procedure with caller’s right
|
CURRENT_ROLE.
Stored procedu... | |
snowflake_docs/desc-transaction_0_0.txt | /
TRANSACTION
| |
snowflake_docs/array_slice_6_0.txt | Examples ¶
This shows a simple example of slicing an array:
> >
>> select array_slice(array_construct(0,1,2,3,4,5,6), 0, 2);
>>
>>
>> Copy
>
> Output:
>
>>
>> +---------------------------------------------------+
>> | ARRAY_SLICE(ARRAY_CONSTRUCT(0,1,2,3,4,5,6), 0, 2) |
>> |-------------------------... | |
snowflake_docs/binary-input-output_4_0.txt | base64 ¶
The “base64” format encodes binary data (or string data) as printable ASCII
characters (letters, digits, and punctuation marks or mathematical operators).
(The base64 encoding scheme is defined in [ RFC 4648
Base64-encoded data has the following advantages:
* Because base64-encoded data is pure ASCII text... | |
snowflake_docs/regexp_count_0_0.txt | /
reference/functions-regexp) REGEXP_COUNT
Categories:
| |
snowflake_docs/hybrid_tables_1_0.txt | HYBRID_TABLES View ¶
Available to all accounts.
This Information Schema view displays a row for each hybrid table defined in
the specified (or current) database.
| |
snowflake_docs/desc-catalog-integration_10_0.txt | Output ¶
The command output provides catalog integration properties and metadata in the
following columns.
Column
|
Description
---|---
` property `
|
The name of the property. For property descriptions, see [ CREATE CATALOG
` property_type `
|
The property type.
` property_value `
|
The value assigned to t... | |
snowflake_docs/date-time-examples_1_0.txt | Working with Date and Time Values ¶
Date and time calculations are among the most widely used and most critical
computations in analytics and data mining. This topic provides practical
examples of common date and time queries and calculations.
| |
snowflake_docs/create-stage_19_2.txt | loaded into separate columns in relational tables.
Note
* If the length of the target string column is set to the maximum (e.g. ` VARCHAR (16777216) ` ), an incoming string cannot exceed this length; otherwise, the COPY command produces an error.
* This parameter is functionally equivalent to ` ENFORCE_LENGTH ... | |
snowflake_docs/create-network-policy_3_0.txt | Required parameters ¶
` _ name _ `
Identifier for the network policy; must be unique for your account.
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 ... | |
snowflake_docs/as_integer_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/encrypt_raw_6_0.txt | Examples ¶
This example shows encryption and decryption.
> For readability, set the BINARY_OUTPUT_FORMAT to HEX:
>
>
> ALTER SESSION SET BINARY_OUTPUT_FORMAT='HEX';
>
>
> Copy
>
> Create a table and load it.
>
> Caution
>
> To simplify this example, the encryption/decryption key is stored in the
> table wi... | |
snowflake_docs/percentile_cont_3_0.txt | Arguments ¶
` _ percentile _ `
The percentile of the value that you want to find. The percentile must be a
constant between 0.0 and 1.0. For example, if you want to find the value at
the 90th percentile, specify 0.9.
` _ order_by_expr _ `
The expression (typically a column name) by which to order the values. For
e... | |
snowflake_docs/show-materialized-views_1_0.txt | SHOW MATERIALIZED VIEWS ¶
Materialized views require Enterprise Edition. To inquire about upgrading,
please contact [ Snowflake Support
Snowflake-Lodge) .
Lists the materialized views that you have privileges to access.
For more information about materialized views, see [ Working with Materialized
See also:
| |
snowflake_docs/tan_3_0.txt | Arguments ¶
` _ real_expr _ `
This expression should evaluate to a real number. The value should be in
radians, not degrees.
| |
snowflake_docs/add_regex_13_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. Required arguments
3. Optional arguments
4. Output
5. Access control requirements
6. Usage notes
7. Examples
Language ... | |
snowflake_docs/approx_percentile_combine_3_0.txt | Arguments ¶
` _ state _ `
An expression that contains state information generated by a call to [
| |
snowflake_docs/parameters_73_0.txt | QUERY_TAG ¶
Type :
Session — Can be set for Account » User » Session
Data Type :
String (up to 2000 characters)
Description :
Optional string that can be used to tag queries and other SQL statements
executed within a session. The tags are displayed in the output of the [
Default :
None
| |
snowflake_docs/get_measurement_table_4_0.txt | label-budgets-application-roles) for the account budget.
| |
snowflake_docs/exp_3_0.txt | Examples ¶
>
> SELECT EXP(1), EXP(LN(10));
> -------------+-------------+
> EXP(1) | EXP(LN(10)) |
> -------------+-------------+
> 2.718281828 | 10 |
> -------------+-------------+
>
>
> Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Synt... | |
snowflake_docs/ifnull_1_0.txt | IFNULL ¶
If ` _ expr1 _ ` is NULL, returns ` _ expr2 _ ` , otherwise returns ` _
expr1 _ ` .
Aliases :
| |
snowflake_docs/system_get_privatelink_authorized_endpoints_1_0.txt | SYSTEM$GET_PRIVATELINK_AUTHORIZED_ENDPOINTS ¶
This function requires Business Critical (or higher). To inquire about
upgrading, please contact [ Snowflake Support
Snowflake-Lodge) .
Returns a list of the authorized endpoints for your current account to use
with private connectivity to the Snowflake service.
The endp... | |
snowflake_docs/get_ignore_case_7_0.txt | Usage Notes ¶
* This function returns the first exact match it finds. If the function only finds ambiguous (case-insensitive) matches, it returns the value for one of the matches; however, no guarantee can be made on which ambiguous field name is matched first.
* GET_IGNORE_CASE is a binary function that can be... | |
snowflake_docs/current_available_roles_1_0.txt | CURRENT_AVAILABLE_ROLES ¶
Returns a string (VARCHAR) that lists all account-level roles granted to the
current user.
The returned string contains a JSON-encoded list of all roles that the user
The list includes all roles that are granted directly to the user plus all
roles lower in the hierarchies of these roles. Th... | |
snowflake_docs/order-by_1_0.txt | ORDER BY ¶
Specifies an ordering of the rows of the result table from a [ SELECT
| |
snowflake_docs/st_union_5_0.txt | Usage Notes ¶
* If any vertex of one input object is on the boundary of the other input object (excluding the vertices), some points in the union might be represented more than once in the output,
For example, in the following statement:
> > SELECT ST_UNION(
> TO_GEOGRAPHY('POINT(1 1)'),
> TO_GEOG... | |
snowflake_docs/alert_history_2_0.txt | Columns ¶
Column Name
|
Data Type
|
Description
---|---|---
NAME
|
VARCHAR
|
Name of the alert.
DATABASE_NAME
|
VARCHAR
|
Name of the database that contains the alert.
SCHEMA_NAME
|
VARCHAR
|
Name of the schema that contains the alert.
CONDITION
|
VARCHAR
|
Text of the SQL statement that serves as the cond... | |
snowflake_docs/bit_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/ceil_1_0.txt | CEIL ¶
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.
See also:
| |
snowflake_docs/create-database-role_2_0.txt | label-access-control-considerations-database-roles) or
replace an existing database role in the system.
After creating database roles, you can grant object privileges to the database
role and then grant the database role to other database roles or account roles
to enable access control security for objects in the syste... | |
snowflake_docs/boolor_0_0.txt | /
reference/expressions-conditional) BOOLOR
Categories:
| |
snowflake_docs/try_decrypt_raw_3_0.txt | Arguments ¶
**Required:**
` _ value_to_decrypt _ `
The binary value to decrypt.
` _ key _ `
The key to use to encrypt/decrypt the data. The key must be a BINARY value.
The key can be any value as long as the length is correct. For example, for
AES128, the key must be 128 bits (16 bytes), and for AES256, the key mu... | |
snowflake_docs/alter-aggregation-policy_0_0.txt | /
1. Aggregation Policy
7. Projection Policy
POLICY
| |
snowflake_docs/grant-application-role_10_0.txt | Examples ¶
GRANT APPLICATION ROLE app_role to APPLICATION ROLE other_app_role;
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
Related content
Language : **English** | |
snowflake_docs/to_xml_2_0.txt | Syntax ¶
TO_XML( <expression> )
Copy
| |
snowflake_docs/drop-authentication-policy_1_0.txt | DROP AUTHENTICATION POLICY ¶
Available to all accounts.
Removes an authentication policy from the system.
See also:
| |
snowflake_docs/execute-task_0_0.txt | /
1. Stream
7. Task
| |
snowflake_docs/metering_history_3_0.txt | Usage Notes ¶
* Latency for the view may be up to 180 minutes (3 hours), except for the CREDITS_USED_CLOUD_SERVICES column. Latency for CREDITS_USED_CLOUD_SERVICES may be up to 6 hours.
* Latency for showing the credit consumption of ` SNOWPIPE_STREAMING ` may be up to 12 hours.
Was this page helpful?
Yes No... | |
snowflake_docs/drop-task_3_0.txt | Parameters ¶
` _ name _ `
Specifies the identifier for the task 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 task identifi... | |
snowflake_docs/system_current_user_task_name_1_0.txt | SYSTEM$CURRENT_USER_TASK_NAME ¶
Returns the name of the task currently executing when invoked from the
statement or stored procedure defined by the task.
| |
snowflake_docs/system_generate_saml_csr_4_0.txt | Usage notes ¶
None.
| |
snowflake_docs/create-replication-group_15_0.txt | Access Control Requirements ¶
access-control-overview-roles) used to execute this SQL command must have the
overview.html | |
snowflake_docs/minhash_combine_1_0.txt | MINHASH_COMBINE ¶
Combines input MinHash states into a single MinHash output state. This Minhash
state can then be input to the [ APPROXIMATE_SIMILARITY
MinHash states.
This allows use cases in which MINHASH is run over horizontal rowsets of the
same table, producing a MinHash state for each rowset. These states can... | |
snowflake_docs/base64_decode_binary_8_0.txt | $%^&*()abcdefghijklmnopqrstuvwzyz1234567890[]{};:,./<>?-=~';
>> CREATE OR REPLACE TABLE binary_table (v VARCHAR, b BINARY, b64_string
VARCHAR);
>> INSERT INTO binary_table (v) VALUES ($MY_STRING);
>> UPDATE binary_table SET b = TO_BINARY(v, 'UTF-8');
>> UPDATE binary_table SET b64_string = BASE64_ENCODE... | |
snowflake_docs/current_secondary_roles_4_0.txt | Arguments ¶
None.
| |
snowflake_docs/data-types-structured_19_0.txt | Example: Adding Keys to an OBJECT ¶
If the type that you are casting to has additional key-value pairs that are
not present in the original structured object, specify the ADD FIELDS keywords
at the end of CAST. For example:
SELECT CAST({'city':'San Mateo','state': 'CA'}::OBJECT(city VARCHAR, state VARCHAR)
... | |
snowflake_docs/show-delegated-authorizations_2_0.txt | Syntax ¶
SHOW DELEGATED AUTHORIZATIONS
SHOW DELEGATED AUTHORIZATIONS BY USER <username>
SHOW DELEGATED AUTHORIZATIONS TO SECURITY INTEGRATION <integration_name>
Copy
| |
snowflake_docs/try_parse_json_3_0.txt | Arguments ¶
` _ expr _ `
An expression of string type (e.g. VARCHAR).
| |
snowflake_docs/st_aswkb_4_0.txt | Arguments ¶
` _ geography_or_geometry_expression _ `
The argument must be an expression of type GEOGRAPHY or GEOMETRY.
| |
snowflake_docs/hash_agg_4_0.txt | Collation Details ¶
No impact.
* Two strings that are identical but have different collation specifications have the same hash value. In other words, only the string, not the collation specification, affects the hash value.
* Two strings that are different, but compare equal according to a collation, might have... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.