id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
snowflake_docs/show-event-tables_1_0.txt | SHOW EVENT TABLES ¶
setting-up) for which you have access privileges, including dropped tables
that are still within the Time Travel retention period and, therefore, can be
undropped. The command can be used to list event tables for the
current/specified database or schema, or across your entire account.
The output ... | |
snowflake_docs/create-failover-group_4_0.txt | label-account-replication-integrations) .
>
> If integration objects are included in the list of specified object types,
> the ` ALLOWED_INTEGRATION_TYPES ` parameter must be set.
>
> NETWORK POLICIES :
>
>
> All network policies in the source account.
>
> RESOURCE MONITORS :
>
>
> All resource monitors in the s... | |
snowflake_docs/trim_2_0.txt | Syntax ¶
TRIM( <expr> [, <characters> ] )
Copy
| |
snowflake_docs/grant-privilege_2_0.txt | Syntax ¶
Account roles:
GRANT { { globalPrivileges | ALL [ PRIVILEGES ] } ON ACCOUNT
| { accountObjectPrivileges | ALL [ PRIVILEGES ] } ON { USER | RESOURCE MONITOR | WAREHOUSE | COMPUTE POOL | DATABASE | INTEGRATION | FAILOVER GROUP | REPLICATION GROUP | EXTERNAL VOLUME } <object_name>
... | |
snowflake_docs/avg_3_0.txt | Arguments ¶
` _ expr1 _ `
This is an expression that evaluates to a numeric data type (INTEGER, FLOAT,
DECIMAL, etc.).
` _ expr2 _ `
This is the optional expression to partition by.
` _ expr3 _ `
This is the optional expression to order by within each partition.
| |
snowflake_docs/timestampadd_3_0.txt | Arguments ¶
` _ date_or_time_part _ `
This indicates the units of time that you want to add. For example if you want
to add 2 days, then the unit is ` DAY ` . This unit of measure must be one of
time.html | |
snowflake_docs/grouping_4_0.txt | Examples ¶
Group by sets:
> Create and populate a table with values:
>
>>
>> CREATE OR REPLACE TABLE aggr2(col_x int, col_y int, col_z int);
>> INSERT INTO aggr2 VALUES(1, 2, 1), (1, 2, 3);
>> INSERT INTO aggr2 VALUES(2, 1, 10), (2, 2, 11), (2, 2, 3);
>>
>>
>> Copy
>
> Show the values in the table:
>
>... | |
snowflake_docs/show-channels_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/create-user_8_0.txt | Optional Parameters ¶
` TAG ( _ tag_name _ = ' _ tag_value _ ' [ , _ tag_name _ = ' _
tag_value _ ' , ... ] ) `
string value.
The tag value is always a string, and the maximum number of characters for the
tag value is 256.
For information about specifying tags in a statement, see [ Tag quotas for
t... | |
snowflake_docs/alter-account_3_0.txt | Altering the Current Account ¶
ALTER ACCOUNT SET { [ accountParams ] [ objectParams ] [ sessionParams ] }
ALTER ACCOUNT UNSET <param_name> [ , ... ]
ALTER ACCOUNT SET RESOURCE_MONITOR = <monitor_name>
ALTER ACCOUNT SET { AUTHENTICATION | PASSWORD | SESSION } POLICY <policy_name>
ALTER ACCOUNT UNS... | |
snowflake_docs/collation_25_0.txt | Differences When Characters Are Represented by Different Code Points ¶
In Unicode, [ different sequences of code points can represent the same
the Greek Small Letter Iota with Dialytika and Tonos can be represented by the
with the code point ` U+0390 ` or by the sequence of code points ` U+03b9 `
` U+0308 ` ` U+0... | |
snowflake_docs/system_get_tag_allowed_values_4_0.txt | Usage notes ¶
* The role that calls this function must have either the USAGE privilege on the parent database and schema of the tag or the global APPLY TAG on ACCOUNT permission.
* Snowflake returns NULL when you pass the SNOWFLAKE.CORE.SEMANTIC_CATEGORY system tag as an argument in the function because there i... | |
snowflake_docs/grant-privilege_6_0.txt | label-procedure-function-name-overloading) .
| |
snowflake_docs/ceil_4_0.txt | Returns ¶
The data type of the returned value is NUMBER(precision, scale).
If the input scale was greater than or equal to zero, then the output scale
generally matches the input scale.
If the input scale was negative, then the output scale is 0.
For example:
* The data type returned by CEIL(3.14, 1) is NUMBER(4, ... | |
snowflake_docs/conditional_change_event_5_1.txt | >
> WITH power_change_events AS
> (
> SELECT
> site_ID,
> CONDITIONAL_CHANGE_EVENT(voltage = 0) OVER (ORDER BY ts) AS
> power_changes
> FROM voltage_readings
> )
> SELECT MAX(power_changes)
> FROM power_change_events
> GROUP BY si... | |
snowflake_docs/create-application_2_0.txt | Syntax ¶
CREATE APPLICATION <name> FROM APPLICATION PACKAGE <package_name>
[ COMMENT = '<string_literal>' ]
[ [ WITH ] TAG ( <tag_name> = '<tag_value>' [ , ... ] ) ]
CREATE APPLICATION <name> FROM APPLICATION PACKAGE <package_name>
USING <path_to_version_directory>
[ DEBUG_MODE = { ... | |
snowflake_docs/editdistance_2_0.txt | Syntax ¶
EDITDISTANCE( <string_expr1> , <string_expr2> [, <max_distance> ] )
Copy
| |
snowflake_docs/conventions_2_0.txt | Syntax, Examples, and Text ¶
Notation
|
Description
---|---
ITEM , ` ITEM `
|
All-uppercase indicates a Snowflake SQL command, keyword, parameter name, or
function name.
item , ` item `
|
All-lowercase indicates a user-supplied value for an identifier, parameter, or
argument.
_ <item> _ , ` _ item _ `
|
A... | |
snowflake_docs/try_to_date_5_0.txt | Returns ¶
The data type of the returned value is ` DATE ` .
| |
snowflake_docs/drop-streamlit_1_0.txt | DROP STREAMLIT ¶
Attention
This feature is available to accounts in [ AWS and Microsoft Azure commercial
Removes the specified Streamlit object from the current/specified schema.
See also:
| |
snowflake_docs/hll_estimate_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/sample_3_0.txt | Usage Notes ¶
* The following keywords can be used interchangeably:
> * ` SAMPLE | TABLESAMPLE `
>
> * ` BERNOULLI | ROW `
>
> * ` SYSTEM | BLOCK `
>
> * ` REPEATABLE | SEED `
* The number of rows returned depends on the sampling method specified:
Fraction-based :
* For ` BERNO... | |
snowflake_docs/parameters_66_0.txt | NOORDER_SEQUENCE_AS_DEFAULT ¶
Type :
Session — Can be set for Account » User » Session
Data Type :
Boolean
Description :
Specifies whether the ORDER or NOORDER property is set by default when you
create a new sequence or add a new table column.
The ORDER and NOORDER properties determine whether or not the values ... | |
snowflake_docs/grouping_1_0.txt | GROUPING ¶
Describes which of a list of expressions are grouped in a row produced by a [
Aliases:
| |
snowflake_docs/alter-warehouse_4_0.txt | label-resizing-a-warehouse) .
>
> Valid values :
>
>
> * ` XSMALL ` , ` 'X-SMALL' `
>
> * ` SMALL `
>
> * ` MEDIUM `
>
> * ` LARGE `
>
> * ` XLARGE ` , ` 'X-LARGE' `
>
> * ` XXLARGE ` , ` X2LARGE ` , ` '2X-LARGE' `
>
> * ` XXXLARGE ` , ` X3LARGE ` , ` '3X-LARGE' `
>
> * ` X4LARGE ` , ` ... | |
snowflake_docs/create-tag_6_0.txt | Access control requirements ¶
access-control-overview-roles) used to execute this SQL command must have the
overview.html | |
snowflake_docs/is_date-value_3_0.txt | Examples ¶
Show all ` DATE ` values in a ` VARIANT ` column.
Note
The output format for date values is set using the [ DATE_OUTPUT_FORMAT
is ` YYYY-MM-DD ` .
Create and load the table:
>
> create or replace table vardttm (v variant);
>
>
> Copy
>
>
> BEGIN WORK;
> insert into vardttm select to_v... | |
snowflake_docs/alter-replication-group_16_1.txt | plication of the specified
> objects.
` IGNORE EDITION CHECK `
Allows replicating objects to accounts on lower editions in either of the
following scenarios:
* A primary replication group with only database and/or share objects is in a Business Critical (or higher) account but one or more accounts approved for rep... | |
snowflake_docs/show-indexes_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 INDEXES
| |
snowflake_docs/group-by-grouping-sets_4_1.txt | to all of the nurses counted in this row.
>
>
> +----------+-----------------+---------------+
> | COUNT(*) | MEDICAL_LICENSE | RADIO_LICENSE |
> |----------+-----------------+---------------|
> | 5 | LVN | NULL |
> | 2 | RN | NULL |
> ... | |
snowflake_docs/system_get_classification_result_6_0.txt | Usage notes ¶
* To unset a Classification system tag from a column, use an ALTER TABLE … MODIFY COLUMN … UNSET TAG statement.
| |
snowflake_docs/date-time-input-output_14_1.txt | lliseconds) or the
first digit of the timezone offset (e.g. 12 hours ahead of UTC).
Tip
In some of the timestamp formats, the letter ` T ` is used as a separator
between the date and time (e.g. ` 'YYYY-MM-DD"T"HH24:MI:SS' ` ).
The double quotes around the ` T ` are optional. However, Snowflake
recommends using doubl... | |
snowflake_docs/procedures_0_0.txt | /
| |
snowflake_docs/commands-transaction_0_0.txt | /
commands) Transactions
| |
snowflake_docs/current_role_6_0.txt | Examples ¶
This demonstrates ` CURRENT_ROLE() ` :
SELECT CURRENT_ROLE();
Copy
Output:
>
> +----------------+
> | CURRENT_ROLE() |
> |----------------|
> | SYSADMIN |
> +----------------+
>
>
> Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
... | |
snowflake_docs/show-event-tables_5_0.txt | Output ¶
The command output provides table properties and metadata in the following
columns:
Column
|
Description
---|---
` created_on `
|
Date and time when the event table was created.
` name `
|
Name of the event table.
` database_name `
|
Database in which the event table is stored.
` schema_name `... | |
snowflake_docs/width_bucket_3_0.txt | Arguments ¶
` _ expr _ `
The expression for which the histogram is created. This expression must
evaluate to a numeric value or to a value that can be implicitly converted to
a numeric value.
The value must be within the range of ` -(2^53 - 1) ` to ` 2^53 - 1 `
(inclusive).
` _ min_value _ ` and ` _ max_valu... | |
snowflake_docs/array_max_1_0.txt | ARRAY_MAX ¶
array) , returns the element with the highest value that is not a SQL NULL. If
the input ARRAY is empty or contains only SQL NULL elements, this function
returns NULL.
| |
snowflake_docs/alter-row-access-policy_8_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 [
| |
snowflake_docs/storage_daily_history_0_0.txt | /
24. Legacy Views
Schema:
| |
snowflake_docs/parameters_91_0.txt | SUSPEND_TASK_AFTER_NUM_FAILURES ¶
Type :
Object (for databases, schemas, and tasks) — Can be set for Account » Database
» Schema » Task
Data Type :
Integer
Description :
Number of consecutive failed task runs after which a standalone task or [ task
automatically. Failed task runs include runs in which the SQL cod... | |
snowflake_docs/array_agg_18_0.txt | 000000508",
> |
> | | "Clerk | |
snowflake_docs/create-masking-policy_7_0.txt | label-access-control-overview-privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
CREATE MASKING POLICY
|
Schema
|
Note that operating on any object in a schema also requires the USAGE
privilege on the parent database and schema.
For instructions on creating a custom role with a specified set of priv... | |
snowflake_docs/bitxor_agg_6_0.txt | Examples ¶
Create the table and load the data:
>
> CREATE OR REPLACE TABLE bitwise_example
> (k int, d decimal(10,5), s1 varchar(10), s2 varchar(10));
>
> INSERT INTO bitwise_example VALUES
> (15, 1.1, '12','one'),
> (26, 2.9, '10','two'),
> (12, 7.1, '7.9','... | |
snowflake_docs/data-types-logical_1_0.txt | Logical Data Types ¶
This topic describes the logical data types supported in Snowflake.
| |
snowflake_docs/h3_coverage_strings_1_0.txt | H3_COVERAGE_STRINGS ¶
Returns an ARRAY of hexadecimal IDs (as VARCHAR values) identifying the
geospatial-h3) cells that completely cover a shape (specified by a [ GEOGRAPHY
See also:
| |
snowflake_docs/show-application-packages_2_0.txt | Syntax ¶
SHOW APPLICATION PACKAGES [ LIKE '<pattern>' ]
[ STARTS WITH '<name_string>' ]
[ LIMIT <rows> [ FROM '<name_string>' ] ];
Copy
| |
snowflake_docs/show-shares-in-replication-group_5_0.txt | Examples ¶
List the shares in the replication group ` myrg ` :
SHOW SHARES IN REPLICATION GROUP myrg;
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/desc-pipe_2_0.txt | Syntax ¶
DESC[RIBE] PIPE <name>
Copy
| |
snowflake_docs/round_6_0.txt | Examples ¶
This first example shows a simple use of ` ROUND ` , with the default number
of decimal places (0):
SELECT ROUND(135.135), ROUND(-975.975);
+----------------+-----------------+
| ROUND(135.135) | ROUND(-975.975) |
|----------------+-----------------|
| 135 | -976... | |
snowflake_docs/desc-password-policy_1_0.txt | DESCRIBE PASSWORD POLICY ¶
Describes the details about a password policy.
DESCRIBE can be abbreviated to DESC.
See also:
management.html | |
snowflake_docs/create-security-integration-oauth-snowflake_7_0.txt | Additional optional parameters (partner applications) ¶
Valid when OAUTH_CLIENT = <partner_application> (i.e. when creating an
integration for a partner application)
` OAUTH_ISSUE_REFRESH_TOKENS = { TRUE | FALSE } `
Boolean that specifies whether to allow the client to exchange a refresh token
for an access t... | |
snowflake_docs/desc-search-optimization_7_0.txt | Examples ¶
See [ Displaying the Search Optimization Configuration for a Table
optimization-service-configuration-displaying) .
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Parameters
3. Output
4. Usage Notes
5. Examples
Language : **English** | |
snowflake_docs/create-stream_5_1.txt | ile2 ` only. Unlike when tracking change data capture (CDC) data for
standard tables, Snowflake cannot access the historical records for files in
cloud storage.
Default :
` FALSE `
` SHOW_INITIAL_ROWS = TRUE | FALSE `
Specifies the records to return the first time the stream is consumed.
` TRUE `
The stream re... | |
snowflake_docs/information_schema_catalog_name_1_0.txt | INFORMATION_SCHEMA_CATALOG_NAME View ¶
This Information Schema view identifies the database (or catalog, in SQL
terminology) that contains the INFORMATION_SCHEMA schema.
| |
snowflake_docs/months_between_4_0.txt | Returns ¶
A FLOAT representing the number of months between the two dates.
The number is calculated as described below:
* The integer portion of the FLOAT is calculated using the year and month parts of the input values.
* In most situations, the fractional portion is calculated using the day and time parts of ... | |
snowflake_docs/open_0_0.txt | /
snowflake-scripting) OPEN
| |
snowflake_docs/bitmap_count_5_0.txt | Examples ¶
See [ Using Bitmaps to Compute Distinct Values for Hierarchical Aggregations
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Arguments
3. Returns
4. Examples
Language : **English** | |
snowflake_docs/functions-date-time_4_0.txt | Calendar Weeks and Weekdays ¶
The behavior of week-related functions in Snowflake is controlled by the [
aspect of understanding how these parameters interact is the concept of ISO
weeks.
| |
snowflake_docs/system_get_tag_on_current_table_0_0.txt | /
1. Control
29. Information
90. Query Information
SYSTEM$GET_TAG_ON_CURRENT_TABLE
Categories:
| |
snowflake_docs/expressions-byte-bit_1_0.txt | Bitwise Expression Functions ¶
This family of functions can be used to perform Bitwise operations on numbers
or a group of numeric records.
Function Name
|
Syntax
|
Summary Description
---|---|---
|
` BITAND(a, b) `
|
Bitwise AND of two numeric expressions ( ` a ` and ` b ` ).
|
` BITAND_AGG(a) `
|
Same a... | |
snowflake_docs/radians_3_0.txt | Examples ¶
Show the results of calling the ` RADIANS ` function:
>
> SELECT RADIANS(0), RADIANS(60), RADIANS(180), RADIANS(360),
> RADIANS(720);
>
> +------------+-------------+--------------+--------------+--------------+
> | RADIANS(0) | RADIANS(60) | RADIANS(180) | RADIANS(360) | RADIANS(720)
> |
>
> |--... | |
snowflake_docs/sha1_5_0.txt | Usage Notes ¶
* The SHA1 family of functions is provided primarily for backwards compatibility with other systems. For more secure encryption, Snowflake recommends using the SHA2 family of functions.
* Do not use this function to encrypt a message that you need to decrypt. This function has no corresponding dec... | |
snowflake_docs/initcap_6_0.txt | Examples ¶
This example provides various outputs in different languages using the default
delimiters:
SELECT v, INITCAP(v) FROM testinit;
+---------------------------------+---------------------------------+
| C1 | INITCAP(C1) |
|----------------------... | |
snowflake_docs/create-function_8_0.txt | Required Parameters ¶
| |
snowflake_docs/create-database_14_0.txt | label-region-groups) from the account that stores the primary
database.
* The CREATE DATABASE … AS REPLICA command does not support the WITH TAG clause.
This clause is not supported because the secondary database is read only. If
your primary database specifies the WITH TAG clause, remove the clause prior
to creat... | |
snowflake_docs/delete_category_9_0.txt | label-security-custom-role) .
For general information about roles and privilege grants for performing SQL
control-overview.html | |
snowflake_docs/year_3_0.txt | Usage Notes ¶
Function Name
|
Date Part Extracted from Input Date / Timestamp
|
Possible Values
---|---|---
YEAR
|
Year
|
Any valid year (e.g. 2017)
YEAROFWEEK [1]
|
Year that the extracted week belongs to
|
Any valid year (e.g. 2017)
YEAROFWEEKISO
|
Same as YEAROFWEEK, except uses ISO semantics
|
Any valid... | |
snowflake_docs/alter-row-access-policy_4_0.txt | Access control requirements ¶
access-control-overview-roles) used to execute this SQL command must have the
overview.html | |
snowflake_docs/alter-iceberg-table_1_0.txt | ALTER ICEBERG TABLE ¶
Available to all accounts.
Modifies the properties, columns, or constraints for an existing [ Iceberg
catalog integration, use ALTER ICEBERG TABLE to refresh the table with new
data.
You can also use ALTER ICEBERG TABLE to convert a table that uses a catalog
integration into a table that uses S... | |
snowflake_docs/drop-row-access-policy_5_0.txt | label-access-control-overview-privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
OWNERSHIP
|
Schema or
Row access policy
|
The schema that contains the row access policy.
OWNERSHIP is a special privilege on an object that is automatically granted to
the role that created the object, but can also be t... | |
snowflake_docs/alter-database_4_0.txt | Parameters ¶
` _ name _ `
Specifies the identifier for the database 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.
` RENAME TO _ new_db_name _ `
Specifie... | |
snowflake_docs/invoker_share_2_0.txt | Syntax ¶
INVOKER_SHARE()
Copy
| |
snowflake_docs/json_extract_path_text_6_0.txt | Examples ¶
Create a table and insert values:
>
> CREATE TABLE demo1 (id INTEGER, json_data VARCHAR);
> INSERT INTO demo1 SELECT
> 1, '{"level_1_key": "level_1_value"}';
> INSERT INTO demo1 SELECT
> 2, '{"level_1_key": {"level_2_key": "level_2_value"}}';
> INSERT INTO demo1 SELECT
> ... | |
snowflake_docs/create-dynamic-table_12_0.txt | Examples ¶
Create a dynamic table named ` product ` :
>
> CREATE OR REPLACE DYNAMIC TABLE product
> TARGET_LAG = '20 minutes'
> WAREHOUSE = mywh
> AS
> SELECT product_id, product_name FROM staging_table;
>
>
> Copy
In the example above:
* The dynamic table materializes the results o... | |
snowflake_docs/desc-external-volume_3_0.txt | Syntax ¶
DESC[RIBE] EXTERNAL VOLUME <name>
Copy
| |
snowflake_docs/revoke-privilege_2_1.txt | SEQUENCE | STAGE | STREAM | STREAMLIT
| SNOWFLAKE.CORE.BUDGET |
| SNOWFLAKE.ML.ANOMALY_DETECTION | SNOWFLAKE.ML.FORECAST
| TAG | TABLE | TASK | VIEW
}
| MODIFY | MONITOR | USAGE
[ , ... ]
Copy
schemaObjectPrivileges ::=
-- For ALERT
{ MONITOR | OPERATE } [ ... | |
snowflake_docs/commands-streamlit_0_0.txt | /
commands) Streamlit
| |
snowflake_docs/listing-consumption-daily_0_0.txt | /
Schema:
| |
snowflake_docs/replication_groups_0_0.txt | /
REPLICATION_GROUPS
| |
snowflake_docs/json_extract_path_text_2_0.txt | Syntax ¶
JSON_EXTRACT_PATH_TEXT( <column_identifier> , '<path_name>' )
Copy
| |
snowflake_docs/bind-variables_9_0.txt | Limitations for Array Binds ¶
The following limitations apply to array binds:
* Only INSERT INTO … VALUES statements can contain array bind variables.
* The VALUES clause must be a single-row list of bind variables. For example, the following VALUES clause is not allowed:
VALUES (?,?), (?,?)
Copy
| |
snowflake_docs/show-alerts_10_0.txt | Examples ¶
alerts-show-desc) .
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Parameters
3. Output
4. Access Control Requirements
5. Usage Notes
6. Examples
Related content
Language : **English** | |
snowflake_docs/create-table_4_0.txt | CREATE TABLE … AS SELECT (also referred to as CTAS) ¶
Creates a new table populated with the data returned by a query:
>
> CREATE [ OR REPLACE ] TABLE <table_name> [ ( <col_name> [ <col_type> ] ,
> <col_name> [ <col_type> ] , ... ) ]
> [ CLUSTER BY ( <expr> [ , <expr> , ... ] ) ]
> [ COPY GRANTS ]
> ... | |
snowflake_docs/is_double-real_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/system_client_version_info_0_0.txt | /
1. Control
29. Information
90. Query Information
SYSTEM$CLIENT_VERSION_INFO
Categories:
| |
snowflake_docs/identifier-literal_4_1.txt | t object to use later.
> System.out.println("Create JDBC statement.");
> Statement statement = connection.createStatement();
> System.out.println("Create function.");
> sql_command = "CREATE FUNCTION speed_of_light() RETURNS INTEGER AS $$
> 299792458 $$";
> statement.execute(sql_command);
>
> ... | |
snowflake_docs/desc-share_6_0.txt | Examples ¶
As a provider, display the objects in the ` sales_s ` share:
>
> DESC SHARE sales_s;
>
>
> +----------+--------------------------------------+-------------------------------+
> | kind | name | shared_on
> |
>
> |----------+------------------------------------... | |
snowflake_docs/grant-database-role-share_5_0.txt | Examples ¶
Grant the database role ` dr1 ` in database ` d1 ` to share ` share1 ` :
>
> GRANT DATABASE ROLE d1.dr1 TO SHARE share1;
>
>
> 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/try_parse_json_4_0.txt | Returns ¶
The returned value is of type ` VARIANT ` and contains a JSON document.
| |
snowflake_docs/ternary-logic_3_0.txt | Comparison Operators ¶
If any operand for a comparison operator is NULL, the result is NULL.
Comparison operators are:
> ` = ` , ` != ` , ` <> `
>
> ` < ` , ` <= ` , ` > ` , ` >= `
>
| |
snowflake_docs/replication_group_usage_history_1_0.txt | REPLICATION_GROUP_USAGE_HISTORY View ¶
The REPLICATION_GROUP_USAGE_HISTORY view in the ORGANIZATION_USAGE schema can
be used to query the replication history for replication and failover groups
in your organization within a specified date range. The view includes the name
of the replication or failover group, credit... | |
snowflake_docs/ilike_any_9_0.txt | Examples ¶
This shows how to use ILIKE ANY:
> Create a table that contains some strings:
>
>
> CREATE OR REPLACE TABLE ilike_example(name VARCHAR(20));
> INSERT INTO ilike_example VALUES
> ('jane doe'),
> ('Jane Doe'),
> ('JANE DOE'),
> ('John Doe'),
> ('John Smith... | |
snowflake_docs/show-external-functions_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/desc-external-volume_5_0.txt | Access control requirements ¶
access-control-overview-roles) used to execute this SQL command must have the
overview.html | |
snowflake_docs/collation_31_0.txt | Limitations on Collation and UDFs ¶
Snowflake does not support collation with UDFs (user-defined functions):
* You cannot return a collated string value from a UDF; the server complains that the actual return type is incompatible with the declared return type.
* If you pass a collated string value to a UDF, the... | |
snowflake_docs/desc_0_0.txt | /
| |
snowflake_docs/create-security-integration-saml2_14_0.txt | label-access-control-securable-objects) , see [ Overview of
| |
snowflake_docs/bit_length_3_0.txt | Arguments ¶
` _ string_or_binary _ `
The string or binary value for which the length is returned.
| |
snowflake_docs/regr_valx_3_0.txt | Arguments ¶
` _ y _ ` :
An expression that evaluates to type ` DOUBLE ` or that can be cast to `
DOUBLE ` .
` _ x _ ` :
An expression that evaluates to type ` DOUBLE ` or that can be cast to `
DOUBLE ` .
Important
Note the order of the arguments; y precedes x.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.