id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
snowflake_docs/st_centroid_7_0.txt | GEOGRAPHY Examples ¶
The following example returns the Point that represents the geometric center
of a LineString.
>
> SELECT ST_CENTROID(
> TO_GEOGRAPHY(
> 'LINESTRING(0 0, 0 -2)'
> )
> ) as center_of_linestring;
> +----------------------+
> | CENTER_OF_LINESTRING |
> ... | |
snowflake_docs/create-function_43_0.txt | SQL ¶
* Currently, the NOT NULL clause is not enforced for SQL UDFs.
| |
snowflake_docs/for_1_0.txt | FOR (Snowflake Scripting) ¶
A ` FOR ` loop repeats a sequence of steps a specific number of times. The
number of times might be specified by the user, or might be specified by the
scripting/cursors) . The syntax of these two types of ` FOR ` loops is
slightly different.
guide/snowflake-scripting/loops) .
Note
cons... | |
snowflake_docs/timediff_1_0.txt | TIMEDIFF ¶
Calculates the difference between two date, time, or timestamp expressions
based on the specified date or time part. The function returns the result of
subtracting the second argument from the third argument.
| |
snowflake_docs/copy-files_1_0.txt | COPY FILES ¶
Available to all accounts.
Copies files from one stage to another.
This command supports file copy operations from and to named stages , as the
following table illustrates:
Source Location
|
Target Location
---|---
Internal named stage
|
Internal named stage
External stage
|
Internal named stage... | |
snowflake_docs/alter-function_5_0.txt | Parameters ¶
| |
snowflake_docs/merge_7_0.txt | Duplicate Join Behavior ¶
| |
snowflake_docs/approx_top_k_combine_4_0.txt | Returns ¶
This returns information about the “state” of the top K calculation.
This state information is not usually useful by itself, but can be passed to
the function ` APPROX_TOP_K_ESTIMATE ` .
| |
snowflake_docs/collation_13_0.txt | Collation Implementation Details ¶
The following sections provide more detail about support for collation:
* Case-Insensitive Comparison
* Sorting Using UTF-8 vs Locale Collation
* Collation Precedence in Multi-string Operations
* Limited Support for Collation in Built-in Functions
* Performance Implic... | |
snowflake_docs/bitand_3_0.txt | Arguments ¶
` _ expr1 _ `
This expression must evaluate to a data type that can be cast to ` INTEGER `
.
` _ expr2 _ `
This expression must evaluate to a data type that can be cast to ` INTEGER `
.
| |
snowflake_docs/parameters_26_0.txt | CLIENT_RESULT_COLUMN_CASE_INSENSITIVE ¶
Type :
Session — Can be set for Account » User » Session
Data Type :
Boolean
Clients :
JDBC
Description :
Parameter that indicates whether to match column name case-insensitively in `
ResultSet.get* ` methods in JDBC.
Values :
` TRUE ` : matches column names case-insens... | |
snowflake_docs/warehouse_events_history_2_0.txt | Columns ¶
Column Name
|
Data Type
|
Description
---|---|---
TIMESTAMP
|
TIMESTAMP_LTZ
|
The timestamp when the event is triggered.
WAREHOUSE_ID
|
NUMBER
|
The unique warehouse ID (assigned by Snowflake) that corresponds to the
warehouse name in your account.
WAREHOUSE_NAME
|
TEXT
|
The name of the warehouse ... | |
snowflake_docs/to_timestamp_3_0.txt | Arguments ¶
**Required:**
One of:
> ` _ numeric_expr _ `
>
>
> A number of seconds (if scale = 0 or is absent) or fractions of a second
> (e.g. milliseconds or nanoseconds) since the start of the Unix epoch
> (1970-01-01 00:00:00 UTC). If a non-integer decimal expression is input, the
> scale of the result is inh... | |
snowflake_docs/last_query_id_0_0.txt | /
1. General
14. Session
29. Session Object
41. Alert
context) LAST_QUERY_ID
Categories:
| |
snowflake_docs/rpad_7_0.txt | Examples ¶
SELECT RPAD('123.50', 20, '*-') FROM dual;
--------------------------+
RPAD('123.50', 20, '*-') |
--------------------------+
123.50*-*-*-*-*-*-*- |
--------------------------+
Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Arg... | |
snowflake_docs/create-procedure_18_0.txt | Scala ¶
` RUNTIME_VERSION = ' _ language_runtime_version _ ' `
The language runtime version to use. Currently, the supported versions are:
* 2.12
` PACKAGES = ( ' _ snowpark_package_name _ ' [, ' _ package_name _ '
...] ) `
A comma-separated list of the names of packages deployed in Snowflake that... | |
snowflake_docs/sql-ddl-summary_1_0.txt | DDL (Data Definition Language) Commands ¶
DDL commands are used to create, manipulate, and modify objects in Snowflake,
such as users, virtual warehouses, databases, schemas, tables, views, columns,
functions, and stored procedures.
They are also used to perform many account-level and session operations, such
as set... | |
snowflake_docs/st_envelope_2_0.txt | Syntax ¶
ST_ENVELOPE( <geography_or_geometry_expression> )
Copy
| |
snowflake_docs/alter-storage-integration_6_0.txt | Examples ¶
The following example initiates operation of a suspended integration:
ALTER STORAGE INTEGRATION myint SET ENABLED = TRUE;
Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Parameters
3. Cloud provider parameters (cloudProviderParams)
4. Usage notes
... | |
snowflake_docs/grant-privilege_1_0.txt | GRANT _ <privileges> _ ¶
Grants one or more access privileges on a securable object to a role or
database role. The privileges that can be granted are object-specific.
For information on granting privileges on securable objects to a share, see [
Roles :
The privileges that can be granted to roles are grouped into th... | |
snowflake_docs/translate_4_0.txt | Collation Details ¶
Arguments with collation specifications are currently not supported.
| |
snowflake_docs/alter-service_7_0.txt | label-access-control-securable-objects) , see [ Overview of
| |
snowflake_docs/system_global_account_set_parameter_3_0.txt | Syntax ¶
SELECT SYSTEM$GLOBAL_ACCOUNT_SET_PARAMETER('<account_identifier>',
'ENABLE_ACCOUNT_DATABASE_REPLICATION', 'true');
Copy
| |
snowflake_docs/system_block_internal_stages_public_access_7_0.txt | Examples ¶
Block all public traffic trying to access the internal stage of an Azure
account.
>
> USE ROLE accountadmin;
>
> SELECT SYSTEM$BLOCK_INTERNAL_STAGES_PUBLIC_ACCESS();
>
>
> Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Arguments
3. Returns
... | |
snowflake_docs/contains_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/st_envelope_3_0.txt | Arguments ¶
` _ geography_or_geometry_expression _ `
The argument must be of type GEOGRAPHY or GEOMETRY.
| |
snowflake_docs/datediff_5_0.txt | Usage Notes ¶
_For both DATEDIFF and minus sign:_
* Output values can be negative, for example, -12 days.
_For DATEDIFF:_
* ` _ date_or_time_expr1 _ ` and ` _ date_or_time_expr2 _ ` can be a date, time, or timestamp.
* The function supports units of years, quarters, months, weeks, days, hours, minutes, sec... | |
snowflake_docs/collation_12_0.txt | Supported Specifiers ¶
Locale :
Specifies the language-specific and country-specific rules to apply.
Supports valid locale strings, consisting of a language code (required) and
country code (optional) in the form of ` _ language _ _ _ country _ ` .
Some locale examples include:
* ` en ` \- English.
* ` en_... | |
snowflake_docs/tags_1_0.txt | TAGS View ¶
This Account Usage view lists the tags in an account.
| |
snowflake_docs/regexp_instr_10_2.txt | |
the quick brown fox jumps over the lazy dog | 13 |
PACK MY BOX WITH FIVE DOZEN LIQUOR JUGS | 10 |
---------------------------------------------+-----------------------------------... | |
snowflake_docs/ltrim_9_0.txt | ');
> +---------------------------+
> | LTRIM(' | |
snowflake_docs/localtime_6_0.txt | Examples ¶
Show the current local time and local timestamp:
>
> SELECT LOCALTIME(), LOCALTIMESTAMP();
>
>
> Copy
>
> Output:
>
>
> +-------------+-------------------------------+
> | LOCALTIME() | LOCALTIMESTAMP() |
> +-------------+-------------------------------+
> | 17:18... | |
snowflake_docs/try_hex_decode_string_2_0.txt | Syntax ¶
TRY_HEX_DECODE_STRING(<input>)
Copy
| |
snowflake_docs/hex_encode_1_0.txt | HEX_ENCODE ¶
Encodes the input using hexadecimal (also ‘hex’ or ‘base16’) encoding. The
result is comprised of 16 different symbols: The numbers ‘0’ to ‘9’ as well as
the letters ‘A’ to ‘F’ (or ‘a’ to ‘f’, see below).
See also:
| |
snowflake_docs/is_array_3_0.txt | Arguments ¶
` _ variant_expr _ `
An expression that evaluates to a value of type VARIANT.
| |
snowflake_docs/is_3_0.txt | Examples ¶
These examples use the ` vartab ` table (created in the [ PARSE_JSON
>
> select n, v, typeof(v) from vartab;
>
> +---+------------------------+------------+
> | N | V | TYPEOF(V) |
> |---+------------------------+------------|
> | 1 | null | N... | |
snowflake_docs/create-alert_16_0.txt | Usage Notes ¶
To verify that the alert owner role has the required privileges to execute SQL
statements for the condition and action, we recommend that you execute these
statements using the alert owner role before specifying them in CREATE ALERT.
* When you create an alert, the alert is suspended by default.
ale... | |
snowflake_docs/limit_0_0.txt | /
Categories:
| |
snowflake_docs/copy-into-location_19_0.txt | Including the UUID in the unloaded filenames ¶
Include the UUID in the names of unloaded files by setting the
INCLUDE_QUERY_ID copy option to TRUE:
-- Unload rows from the T1 table into the T1 table stage:
COPY INTO @%t1
FROM t1
FILE_FORMAT=(TYPE=parquet)
INCLUDE_QUERY_ID=true;
-- Retri... | |
snowflake_docs/mod_1_0.txt | MOD ¶
Returns the remainder of input ` _ expr1 _ ` divided by input ` _ expr2 _ `
.
(e.g. ` expr1 % expr2 ` ).
| |
snowflake_docs/in_11_0.txt | Using ` IN ` with a Table ¶
These examples show how to use ` IN ` with a table. The statement below
creates the table used in the examples.
>
> CREATE TABLE my_table (col_1 INTEGER, col_2 INTEGER, col_3 INTEGER);
> INSERT INTO my_table (col_1, col_2, col_3) VALUES
> (1, 1, 1),
> (1, 2, 3),
... | |
snowflake_docs/create-file-format_3_0.txt | Required Parameters ¶
` _ name _ `
Specifies the identifier for the file format; must be unique for the schema in
which the file format is created.
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 q... | |
snowflake_docs/scheduled_time_3_0.txt | Syntax ¶
SNOWFLAKE.ALERT.SCHEDULED_TIME()
Copy
| |
snowflake_docs/hour-minute-second_3_0.txt | Usage Notes ¶
Function Name
|
Time Part Extracted from Time / Timestamp
|
Possible Values
---|---|---
HOUR
|
Hour of the specified day
|
0 to 23
MINUTE
|
Minute of the specified hour
|
0 to 59
SECOND
|
Second of the specified minute
|
0 to 59
| |
snowflake_docs/create-custom-classifier_7_0.txt | label-access-control-overview-roles) used to execute this SQL
guide/security-access-control-overview.html | |
snowflake_docs/st_intersection_1_0.txt | ST_INTERSECTION ¶
Given two input GEOGRAPHY objects, returns a GEOGRAPHY object that represents
the shape containing the set of points that are common to both input objects
(i.e. the intersection of the two objects).
See also:
| |
snowflake_docs/create-notification-integration_0_0.txt | /
1. General
7. API
10. Catalog
15. External access
18. Notification
21. Security
25. Storage
NOTIFICATION INTEGRATION
| |
snowflake_docs/show_3_0.txt | General Usage Notes ¶
* SHOW commands do not require a running warehouse to execute.
* SHOW commands only return objects for which the current user’s current role has been granted the necessary access privileges. For example:
> * The SHOW DATABASES output includes the databases for which the user’s
> role ... | |
snowflake_docs/data-types-structured_17_0.txt | Example: Changing the Order of Key-Value Pairs in an OBJECT ¶
The following example changes the order of key-value pairs in a structured
OBJECT:
SELECT CAST(
{'city': 'San Mateo','state': 'CA'}::OBJECT(city VARCHAR, state VARCHAR)
AS OBJECT(state VARCHAR, city VARCHAR)
);
Copy
| |
snowflake_docs/system_get_task_graph_config_3_0.txt | Arguments ¶
` _ configuration_path _ `
Path to the configuration value to return.
Optional argument specifying the path of the value to be retrieved. Uses the
same syntax as Snowflake queries for semi-structured data. Refer to [ GET_PATH
| |
snowflake_docs/functions-conversion_3_0.txt | Error-handling Conversion Functions ¶
Conversion functions with a TRY_ prefix are special versions of their
respective conversion functions. These functions return a NULL value instead
of raising an error when the conversion can not be performed:
Note that these functions only support string expressions (i.e. VARCHA... | |
snowflake_docs/desc-result_4_0.txt | Usage Notes ¶
* To retrieve the ID for a specific query:
> * Locate the query ID in the web interface. The History [ ![History
> navigation-history-icon.svg) page lists the ID along with each query;
> however, note that you can only use this function for queries you have
> executed.
>
> * Execute the [ ... | |
snowflake_docs/create-user_12_0.txt | label-access-control-securable-objects) , see [ Overview of
| |
snowflake_docs/contains_7_0.txt | Examples ¶
SELECT * from strings;
---------+
S |
---------+
coffee |
ice tea |
latte |
tea |
[NULL] |
---------+
SELECT * FROM strings WHERE CONTAINS(s, 'te');
---------+
S |
---------+
ice tea |
latte |
tea |
... | |
snowflake_docs/group-by-grouping-sets_3_0.txt | Usage Notes ¶
* Snowflake allows up to 128 grouping sets in the same query block.
* The output typically contains some NULL values. Because ` GROUP BY ROLLUP ` merges the results of two or more result sets, each of which was grouped by different criteria, some columns that have a single value in one result s... | |
snowflake_docs/st_ymax_7_0.txt | GEOGRAPHY Examples ¶
This shows a simple use of the ST_XMIN, ST_XMAX, ST_YMIN, and ST_YMAX
functions:
>
> CREATE or replace TABLE extreme_point_collection (id INTEGER, g
> GEOGRAPHY);
> INSERT INTO extreme_point_collection (id, g)
> SELECT column1, TO_GEOGRAPHY(column2) FROM VALUES
> (1, ... | |
snowflake_docs/commands-model_1_0.txt | Model Commands ¶
notes/preview-features) — Open
Available to all Snowflake accounts.
Model commands allow you to manage machine learning models in the Snowpark
Model Registry.
You can create and manage models in Python using the [ Snowpark Model Registry
| |
snowflake_docs/convert_timezone_4_0.txt | Usage Notes ¶
* For the 3-argument version:
* The “wallclock” time in the result represents the same moment in time as the input “wallclock” in the input time zone, but in the destination time zone.
* The return value is always of type TIMESTAMP_NTZ.
* For the 2-argument version:
* The ` _ source... | |
snowflake_docs/drop-external-volume_0_0.txt | /
1. Stage
7. File Format
13. External Volume
20. Pipe
26. Snowpipe Streaming
28. Loading and Unloading
loading) DROP EXTERNAL VOLUME
| |
snowflake_docs/fetch_2_0.txt | Syntax ¶
FETCH <cursor_name> INTO <variable> [, <variable> ... ] ;
Copy
Where:
> ` _ cursor_name _ `
>
>
> The name of the cursor.
>
> ` _ variable _ `
>
>
> The name of the variable into which to retrieve the value of one column of
> the current row.
>
> You should have one variable for each column define... | |
snowflake_docs/functions-context_2_0.txt | List of Functions ¶
Sub-category
|
Function
|
Notes
---|---|---
General Context
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Alias for CURRENT_TIMESTAMP.
|
|
Alias for CURRENT_TIME.
|
|
Alias for CURRENT_TIMESTAMP.
|
|
|
|
Session Context
|
|
|
|
Returns account locator.
|
|
Returns account name. ... | |
snowflake_docs/system_get_iceberg_table_information_3_0.txt | Arguments ¶
` ' _ iceberg_table_name _ ' `
The name of the Iceberg table for which you want to retrieve information. The
table name is a string, so it must be enclosed in single quotes.
* If the Iceberg table name is fully-qualified, such as ` '<db>.<schema>.<iceberg_table_name>' ` , the entire name must be en... | |
snowflake_docs/object_pick_5_0.txt | Usage Notes ¶
For structured OBJECTs :
* For the arguments that are keys, you must specify constants.
* You cannot pass in an ARRAY of keys as the second argument. You must specify each key as a separate argument.
* The function returns a structured OBJECT. The type of the OBJECT includes the keys in the o... | |
snowflake_docs/st_union_agg_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_AGG
Categories:
| |
snowflake_docs/try_to_time_7_0.txt | Examples ¶
This demonstrates usage of ` TRY_TO_TIME ` :
>
> SELECT TRY_TO_TIME('12:30:00'), TRY_TO_TIME('Invalid');
> +-------------------------+------------------------+
> | TRY_TO_TIME('12:30:00') | TRY_TO_TIME('INVALID') |
> |-------------------------+------------------------|
> | 12:30:00 ... | |
snowflake_docs/create-image-repository_1_0.txt | CREATE IMAGE REPOSITORY ¶
> services/overview) is available to all Snowflake accounts in AWS commercial
> regions except for trial accounts.
services/working-with-registry-repository) in the current schema.
See also:
| |
snowflake_docs/show-parameters_5_3.txt | -------------+-------+---------+-------+------------------------------------------------------------------|
> | DATA_RETENTION_TIME_IN_DAYS | 1 | 1 | | number of days
> to retain the old version of deleted/updated data |
>
> +-----------------------------+-------+---------+-------+------------------... | |
snowflake_docs/st_dimension_8_0.txt | GEOMETRY Examples ¶
The following example demonstrates the ST_DIMENSION function:
>
> CREATE OR REPLACE TABLE geometry_shapes (g GEOMETRY);
> INSERT INTO geometry_shapes VALUES
> ('POINT(66 12)'),
> ('MULTIPOINT((45 21), (12 54))'),
> ('LINESTRING(40 60, 50 50, 60 40)'),
> ('M... | |
snowflake_docs/conditional_change_event_4_0.txt | Usage Notes ¶
* The expression ` CONDITIONAL_CHANGE_EVENT (expr1) OVER (window_frame) ` is calculated as:
> ` CONDITIONAL_TRUE_EVENT( <expr1> != LAG(<expr1>) OVER(window_frame))
> OVER(window_frame) `
For more information about CONDITIONAL_TRUE_EVENT, see [
| |
snowflake_docs/alter-packages-policy_6_0.txt | label-security-custom-role) .
For general information about roles and privilege grants for performing SQL
overview.html | |
snowflake_docs/reserved-keywords_1_0.txt | Reserved & Limited Keywords ¶
Snowflake SQL reserves all ANSI keywords (with the exception of type keywords
such as CHAR, DATE, DECIMAL, etc.), as well as some additional keywords (ASC,
DESC, MINUS, etc.) that are reserved by other popular databases. Additionally,
Snowflake reserves keywords REGEXP and RLIKE (which ... | |
snowflake_docs/parameters_70_0.txt | PIPE_EXECUTION_PAUSED ¶
Type :
Object — Can be set for Account » Schema » Pipe
Data Type :
Boolean
Description :
Specifies whether to pause a running pipe, primarily in preparation for
transferring ownership of the pipe to a different role:
* An account administrator (user with the ACCOUNTADMIN role) can set th... | |
snowflake_docs/alter-network-rule_0_0.txt | /
1. Authentication Policy
7. Network Policy
13. Network Rule
19. Packages Policy
25. Password Policy
31. Session Policy
37. Secret
| |
snowflake_docs/alter-table-column_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
| |
snowflake_docs/generator_2_0.txt | Syntax ¶
GENERATOR( ROWCOUNT => <count> [ , TIMELIMIT => <sec> ] )
GENERATOR( [ TIMELIMIT => <sec> ] )
Copy
| |
snowflake_docs/create-file-format_6_1.txt | LE_EXTENSION = ' _ string _ ' | NONE `
Use :
Data unloading only
Definition :
Specifies the extension for files unloaded to a stage. Accepts any extension.
The user is responsible for specifying a file extension that can be read by
any desired software or services.
Default :
null, meaning the file extension i... | |
snowflake_docs/show-event-tables_3_1.txt | e output)
Note
For SHOW commands that support both the ` FROM ' _ name_string _ ' ` and `
STARTS WITH ' _ name_string _ ' ` clauses, you can combine both of these
clauses in the same statement. However, both conditions must be met or they
cancel out each other and no results are returned.
In addition, objects ... | |
snowflake_docs/trim_1_0.txt | TRIM ¶
Removes leading and trailing characters from a string.
See also :
| |
snowflake_docs/asinh_0_0.txt | /
1. Arithmetic
4. Rounding and Truncation
13. Exponent and Root
21. Logarithmic
24. Trigonometric
42. Other
numeric) ASINH
Categories:
| |
snowflake_docs/timestampdiff_2_0.txt | Syntax ¶
TIMESTAMPDIFF( <date_or_time_part> , <date_or_time_expr1> , <date_or_time_expr2> )
Copy
| |
snowflake_docs/alter-model_1_0.txt | ALTER MODEL ¶
Available to all Snowflake accounts.
Modifies the properties for an existing model, including its name, tags,
default version, or comment.
Two other variants of this command exist, namely:
See also:
| |
snowflake_docs/desc-iceberg-table_3_0.txt | Parameters ¶
` _ name _ `
Specifies the identifier for the table 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.
` TYPE = COLUMNS | STAGE `
Specifies whether to display the ... | |
snowflake_docs/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
1. Data Loading
4. Data Generation
6. Data Conversion
... | |
snowflake_docs/desc-transaction_5_0.txt | Output ¶
The command output provides transaction properties and metadata in the
following columns:
| id | user | session name | started on | state | ended_on |
Copy
Column
|
Description
---|---
` id `
|
Unique identifier of the transaction.
` user `
|
The user ID of the user who ran the transaction.
` ... | |
snowflake_docs/array_intersection_6_0.txt | Examples ¶
This example shows simple use of the function:
>
> SELECT array_intersection(ARRAY_CONSTRUCT('A', 'B'),
> ARRAY_CONSTRUCT('B', 'C'));
> +------------------------------------------------------+
> | ARRAY_INTERSECTION(ARRAY_CONSTRUCT('A', 'B'), |
> | ... | |
snowflake_docs/desc-row-access-policy_4_0.txt | Access control requirements ¶
access-control-overview-roles) used to execute this SQL command must have at
control-overview.html | |
snowflake_docs/data-types-datetime_1_0.txt | Date & Time Data Types ¶
This topic describes the data types supported in Snowflake for managing dates,
times, and timestamps (combined date + time). It also describes the supported
formats for string constants used in manipulating dates, times, and
timestamps.
| |
snowflake_docs/create-packages-policy_1_0.txt | CREATE PACKAGES POLICY ¶
policy) or replaces an existing packages policy.
After creating a packages policy, apply the packages policy to your Snowflake
account using an ALTER ACCOUNT statement.
| |
snowflake_docs/drop-application-role_5_0.txt | Examples ¶
>
> DROP APPLICATION ROLE APP_ROLE;
>
>
> Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Parameters
3. Usage notes
4. Examples
Related content
Language : **English** | |
snowflake_docs/functions-all_7_0.txt | label-data-types-geospatial-h3) cell for a given resolution.
|
|
Returns an ARRAY of the VARCHARs containing the hexadecimal IDs of the
geospatial-h3) cell for a given resolution.
|
|
data-types-geospatial-h3) cell for a given resolution.
|
|
geography) object representing the Point that is the centroid of an [ H3
|
|
... | |
snowflake_docs/desc-secret_4_0.txt | Output ¶
The command output provides secret properties and metadata in the following
columns:
Column
|
Description
---|---
` created_on `
|
Date and time when the secret was created.
` name `
|
Name of the secret.
` schema_name `
|
Name of the schema that contains the secret.
` database_name `
|
Name o... | |
snowflake_docs/as_time_1_0.txt | AS_TIME ¶
Casts a VARIANT value to a time value. Does not convert from timestamps.
See also:
| |
snowflake_docs/object_construct_keep_null_4_0.txt | label-data-type-object) .
| |
snowflake_docs/soundex_2_0.txt | Syntax ¶
SOUNDEX( <varchar_expr> )
Copy
| |
snowflake_docs/show-iceberg-tables_11_0.txt | Examples ¶
Show all the Iceberg tables whose name starts with ` glue ` that you have
privileges to view in the ` tpch.public ` schema:
>
> SHOW ICEBERG TABLES LIKE 'glue%' IN tpch.public;
>
>
> Copy
| |
snowflake_docs/create-replication-group_21_0.txt | Executed on Source Account ¶
Create a replication group named ` myrg ` in the source account and enable
replication of database ` db1 ` , and share ` s1 ` from the source account
to the ` myaccount2 ` account to refresh automatically every 10 minutes:
CREATE REPLICATION GROUP myrg
OBJECT_TYPES = DATA... | |
snowflake_docs/generate_column_description_5_0.txt | Examples ¶
Detect, format, and output the set of column definitions in a set of Parquet
files staged in the ` mystage ` stage. The output columns are formatted for
creating a table.
topic:
-- Create a file format that sets the file type as Parquet.
CREATE FILE FORMAT my_parquet_format
TYPE = parquet;
... | |
snowflake_docs/system_cancel_job_5_0.txt | Examples ¶
SELECT SYSTEM$CANCEL_JOB('01ac1948-0300-0001-0000-0000000850d5');
Copy
+------------------------------------------------------------------+
| SYSTEM$CANCEL_JOB |
+------------------------------------------------------------------+
| Job 01... | |
snowflake_docs/call-with_3_0.txt | Java and Scala ¶
guide/stored-procedure/stored-procedures-java.html | |
snowflake_docs/system_disable_behavior_change_bundle_2_0.txt | label-behavior-change-bundles-opt-out-period) for that bundle.
An error occurs in either of the following cases:
* You call this function before the testing period for that bundle begins.
* You call this function after the opt-out period for that bundle ends.
If you call this function to disable a behavior change... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.