id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
snowflake_docs/sum_2_0.txt | Syntax ¶
**Aggregate function**
SUM( [ DISTINCT ] <expr1> )
Copy
**Window function**
SUM( [ DISTINCT ] <expr1> ) OVER (
[ PARTITION BY <expr2> ]
[ ORDER BY <expr3> [ ASC | DESC ] [ <window_frame> ] ]
... | |
snowflake_docs/approx_top_k_accumulate_4_0.txt | Examples ¶
This example shows how to use the three related functions `
APPROX_TOP_K_ACCUMULATE ` , ` APPROX_TOP_K_ESTIMATE ` , and `
APPROX_TOP_K_COMBINE ` .
Note
This example uses more counters than distinct data values in order to get
consistent results. In real-world applications, the number of distinct values... | |
snowflake_docs/data_transfer_history_5_0.txt | Output ¶
The function returns the following columns:
Column Name
|
Data Type
|
Description
---|---|---
START_TIME
|
TIMESTAMP_LTZ
|
Start of the specified time range in which the data transfer took place.
END_TIME
|
TIMESTAMP_LTZ
|
End of the specified time range in which the data transfer took place.
SOURCE... | |
snowflake_docs/hash_agg_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/get_presigned_url_0_0.txt | /
GET_PRESIGNED_URL
Categories:
| |
snowflake_docs/alter-stage_1_0.txt | ALTER STAGE ¶
Modifies the properties for an existing named internal or external stage.
See also:
| |
snowflake_docs/alert_history_0_0.txt | /
Schema:
| |
snowflake_docs/undrop-tag_6_0.txt | label-security-custom-role) .
For general information about roles and privilege grants for performing SQL
overview.html | |
snowflake_docs/system_get_privatelink_config_5_0.txt | Usage notes ¶
* Only account administrators (i.e. users with the ACCOUNTADMIN role) can execute this function.
>
| |
snowflake_docs/show-locks_1_0.txt | SHOW LOCKS ¶
Lists all running transactions that have locks on resources. The command can
be used to show locks for the current user in all the user’s sessions or all
users in the account.
For information about transactions and resource locking, see [ Transactions
See also:
| |
snowflake_docs/create-image-repository_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 [
* CREATE OR REPLACE _ <object> _ statem... | |
snowflake_docs/div0_1_0.txt | DIV0 ¶
Performs division like the division operator ( ` / ` ), but returns 0 when
the divisor is 0 (rather than reporting an error).
See also:
| |
snowflake_docs/row_number_3_0.txt | Arguments ¶
None.
| |
snowflake_docs/data-types-structured_8_0.txt | Explicitly Casting a Semi-Structured Type to a Structured Type ¶
To explicitly cast a semi-structured object to a structured type, you can [
Note
TRY_CAST is not supported for structured types.
You can only cast the following semi-structured objects to the corresponding
structured type; otherwise, a runtime error oc... | |
snowflake_docs/st_asewkb_3_0.txt | Arguments ¶
` _ geography_or_geometry_expression _ `
The argument must be an expression of type GEOGRAPHY or GEOMETRY.
| |
snowflake_docs/drop-file-format_5_0.txt | Examples ¶
>
> DROP FILE FORMAT my_format;
>
> ---------------------------------+
> status |
> ---------------------------------+
> MY_FORMAT successfully dropped. |
> ---------------------------------+
>
>
> Copy
Was this page helpful?
Yes No
Inc. All Rights ... | |
snowflake_docs/asof-join_13_0.txt | Multiple ASOF Joins in a Query ¶
The following example shows how to connect a sequence of two or more ASOF
joins in a single query block. The three tables ( ` snowtime ` , ` raintime
` , ` preciptime ` ) all contain weather observations that were recorded in
specific locations at specific times. The column of inte... | |
snowflake_docs/asof-join_7_0.txt | Join with Match and ON Conditions ¶
The following example is described under [ Conceptual Example of an ASOF JOIN
asof-join-example) .
SELECT t.stock_symbol, t.trade_time, t.quantity, q.quote_time, q.price
FROM trades t ASOF JOIN quotes q
MATCH_CONDITION(t.trade_time >= quote_time)
ON t.sto... | |
snowflake_docs/show-application-packages_4_0.txt | Examples ¶
SHOW APPLICATION PACKAGES;
Copy
+-------------------------------+-------------------------+------------+------------+--------------+----------------+----------+---------+----------------+------------+-------------------+
| created_on | name | is_default | ... | |
snowflake_docs/commands-integration_0_0.txt | /
1. General
7. API
10. Catalog
15. External access
18. Notification
21. Security
25. Storage
commands) Integrations
| |
snowflake_docs/hll_accumulate_4_0.txt | Usage Notes ¶
* DISTINCT can be included as an argument, but has no effect.
| |
snowflake_docs/call-with_11_0.txt | label-stored-procedure-snowscript-call-sp-return-value) , [ the
returned value cannot be used because the call cannot be part of an expression
values) .
` LANGUAGE _ language _ `
Specifies the language of the procedure’s handler code.
Currently, the supported values for ` _ language _ ` include:
` AS _ procedure_de... | |
snowflake_docs/st_xmax_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_XMAX
Categories:
| |
snowflake_docs/date_from_parts_1_0.txt | DATE_FROM_PARTS ¶
Creates a date from individual numeric components that represent the year,
month, and day of the month.
Aliases:
DATEFROMPARTS
| |
snowflake_docs/constraints-other_5_0.txt | Support for Constraints in GET_DDL ¶
note the following:
* Single-column only constraints, such as ` NOT NULL ` and ` DEFAULT ` , are reconstructed inline with the definition of the column.
* Table constraints, such as unique/primary/foreign keys, are always reconstructed as out-of-line constraints, even if ... | |
snowflake_docs/create-application-package_4_0.txt | Optional Parameters ¶
` DATA_RETENTION_TIME_IN_DAYS = _ integer _ `
Specifies the number of days for which Time Travel actions (CLONE and UNDROP)
can be performed on the application package, as well as specifying the default
Time Travel retention time for all schemas created in the database.
guide/data-time-trave... | |
snowflake_docs/sample_1_0.txt | SAMPLE / TABLESAMPLE ¶
Returns a subset of rows sampled randomly from the specified table. The
following sampling methods are supported:
* Sample a fraction of a table, with a specified probability for including a given row. The number of rows returned depends on the size of the table and the requested probability... | |
snowflake_docs/is_granted_to_invoker_role_3_0.txt | Arguments ¶
` ' _ string_literal _ ' `
The name of the role.
| |
snowflake_docs/copy-files_12_0.txt | Copy files ¶
Copy all of the files on an existing stage ( ` src_stage ` ) to a different
stage ( ` trg_stage ` ):
COPY FILES
INTO @trg_stage
FROM @src_stage;
Copy
Note
To copy files from or to an external stage with a protected storage location,
make sure the stage definition includes credentials t... | |
snowflake_docs/aggregate_query_history_6_0.txt | Usage Notes ¶
Latency for the view may be up to 180 minutes (3 hours).
| |
snowflake_docs/show-alerts_3_0.txt | Parameters ¶
` TERSE `
Returns only a subset of the output columns:
* ` created_on `
* ` name `
* ` kind ` (shows NULL for all alerts)
* ` database_name `
* ` schema_name `
* ` schedule `
* ` state `
` LIKE ' _ pattern _ ' `
Optionally filters the command output by object name. The filter ... | |
snowflake_docs/drop-task_5_0.txt | Examples ¶
Drop a task:
>
> SHOW TASKS LIKE 't2%';
>
>
> DROP TASK t2;
>
>
> SHOW TASKS LIKE 't2%';
>
>
> Copy
Drop the task again, but don’t raise an error if the task does not exist:
>
> DROP TASK IF EXISTS t2;
>
>
> Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On th... | |
snowflake_docs/show-shares_1_0.txt | SHOW SHARES ¶
enabled for all accounts
Provider sharing is enabled by default for most, but not all accounts.
If you encounter errors when attempting to share data with consumers, the
feature may not be enabled for your account. To inquire about enabling it,
please contact [ Snowflake Support
Snowflake-Lodge) .
syst... | |
snowflake_docs/st_geohash_4_0.txt | Returns ¶
Returns the geohash (a value of type STRING) for the specified object.
If the object is a Polygon and the two points of the bounding box do not share
the same geohash prefix, the function might return an empty string.
| |
snowflake_docs/alter-user_2_0.txt | Syntax ¶
ALTER USER [ IF EXISTS ] [ <name> ] RENAME TO <new_name>
ALTER USER [ IF EXISTS ] [ <name> ] RESET PASSWORD
ALTER USER [ IF EXISTS ] [ <name> ] ABORT ALL QUERIES
ALTER USER [ IF EXISTS ] [ <name> ] ADD DELEGATED AUTHORIZATION OF ROLE <role_name> TO SECURITY INTEGRATION <integration_name>
... | |
snowflake_docs/drop-share_5_0.txt | Examples ¶
>
> DROP SHARE sales_s;
>
> +-------------------------------+
> | status |
> |-------------------------------|
> | SALES_S successfully dropped. |
> +-------------------------------+
>
>
> Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
O... | |
snowflake_docs/right_5_0.txt | Usage Notes ¶
* If ` _ length_expr _ ` is greater than the length of ` _ expr _ ` , then the function returns ` _ expr _ ` .
| |
snowflake_docs/nth_value_1_0.txt | NTH_VALUE ¶
Returns the nth value (up to 1000) within an ordered group of values.
See also:
| |
snowflake_docs/raise_2_0.txt | Syntax ¶
RAISE <exception_name> ;
Copy
Where:
> ` _ exception_name _ `
>
>
> The name of the exception to raise.
>
> If you are handling an exception in an exception handler and you want to
> raise the same exception again, omit this argument. See [ Raising the Same
> scripting/exceptions.html | |
snowflake_docs/execute-immediate_1_0.txt | EXECUTE IMMEDIATE ¶
Executes a string that contains a SQL statement or a [ Snowflake Scripting
| |
snowflake_docs/current_available_roles_0_0.txt | /
1. General
14. Session
29. Session Object
41. Alert
context) CURRENT_AVAILABLE_ROLES
Categories:
| |
snowflake_docs/validate_5_0.txt | label-copy-load-metadata) .
* If new files have been added to the stage used by ` _ query_id _ ` since the load was executed, the new files added are ignored during the validation.
* If files have been removed from the stage used by ` _ query_id _ ` since the load was executed, the files removed are reported as ... | |
snowflake_docs/sql-format-models_20_0.txt | Alternate, Automatic, and Default Formats ¶
Element
|
Description
---|---
` | ` (pipe)
|
Separates alternative formats.
` AUTO `
|
Automatic format(s).
When parsing strings, it is possible to specify multiple alternative formats
by separating format strings with the ` | ` character. The string is
successf... | |
snowflake_docs/map_keys_4_0.txt | Returns ¶
Returns a structured ARRAY containing the keys in the MAP. The order of the
keys is undefined.
| |
snowflake_docs/functions-analytic_5_0.txt | List of Functions that Support Windows ¶
The list below shows all the window functions.
Note that some functions listed as window frame functions do not support all
possible types of window frames.
Function Name
|
Window
|
Window Frame
|
Rank-related
|
Notes
---|---|---|---|---
**General Window**
| | | |
|
... | |
snowflake_docs/show-image-repositories_0_0.txt | /
1. IMAGE REGISTRY AND REPOSITORY
5. COMPUTE POOL
11. SERVICE
18. JOB
container-services) SHOW IMAGE REPOSITORIES
| |
snowflake_docs/show-external-volumes_2_0.txt | Syntax ¶
SHOW EXTERNAL VOLUMES [ LIKE '<pattern>' ]
Copy
| |
snowflake_docs/create-external-table_3_0.txt | Variant syntax ¶
| |
snowflake_docs/like_5_0.txt | Usage Notes ¶
* SQL wildcards are supported in ` _ pattern _ ` :
* An underscore ( ` _ ` ) matches any single character.
* A percent sign ( ` % ` ) matches any sequence of zero or more characters.
* Wildcards in ` _ pattern _ ` include newline characters ( ` n ` ) in ` _ subject _ ` as matches. ... | |
snowflake_docs/between_1_0.txt | [ NOT ] BETWEEN ¶
Returns ` TRUE ` when the input expression (numeric or string) is within the
specified lower and upper boundary.
| |
snowflake_docs/create-replication-group_9_0.txt | | ________ hour (0-23)
| |
snowflake_docs/grant-privilege_11_0.txt | Restrictions and limitations ¶
* No more than one future grant of the OWNERSHIP privilege is allowed on each securable object type.
* Future grants cannot be defined on objects of the following types:
* Compute pool
* External function
* Image repository
* Policy objects:
* Aggregatio... | |
snowflake_docs/alter-security-integration-oauth-snowflake_3_0.txt | Parameters ¶
| |
snowflake_docs/create-iceberg-table_12_1.txt | P, from the existing
table to the new table. The new table does not inherit any future grants
defined for the object type in the schema. By default, the role that executes
the CREATE TABLE statement owns the new table.
If the parameter is not included in the CREATE ICEBERG TABLE statement, then
the new table does no... | |
snowflake_docs/account-usage_1_0.txt | Account Usage ¶
In the SNOWFLAKE database, the ACCOUNT_USAGE and READER_ACCOUNT_USAGE schemas
enable querying object metadata, as well as historical usage data, for your
account and all reader accounts (if any) associated with the account.
| |
snowflake_docs/alter-tag_4_0.txt | Parameters ¶
` _ name _ `
Identifier for the tag. Assign the tag string value on an [ object
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 enclosed in doubl... | |
snowflake_docs/identifier-literal_0_0.txt | /
Identifiers
| |
snowflake_docs/system_stream_has_data_0_0.txt | /
1. Control
29. Information
90. Query Information
SYSTEM$STREAM_HAS_DATA
Categories:
| |
snowflake_docs/task_versions_2_0.txt | label-task-dag) and their properties at a given time.
| |
snowflake_docs/constraints-properties_6_0.txt | Non-Default Values for the ` ENABLE ` and ` VALIDATE ` Constraint
Properties ¶
For syntax compatibility with other databases, Snowflake supports specifying
non-default values for the constraint properties.
However, if you specify ` ENABLE ` or ` VALIDATE ` (the non-default values
for these properties) when creat... | |
snowflake_docs/create-model_2_0.txt | Syntax ¶
CREATE [ OR REPLACE ] MODEL [ IF NOT EXISTS ] <name> FROM internalStage;
Copy
Where:
internalStage ::=
@[<namespace>.]<int_stage_name>[/<path>]
| @[<namespace>.]%<table_name>[/<path>]
| @~[/<path>]
Copy
For additional internal stage details, see [ Choosing an internal stage for
| |
snowflake_docs/system_get_iceberg_table_information_1_0.txt | SYSTEM$GET_ICEBERG_TABLE_INFORMATION ¶
Available to all accounts.
Returns the location of the root metadata file and status of the latest
The SYSTEM$GET_ICEBERG_TABLE_INFORMATION function works differently according
to table type:
* For an Iceberg table that uses Snowflake as the catalog, calling the function gene... | |
snowflake_docs/pivot_3_0.txt | Examples ¶
Given a table, ` monthly_sales ` , with the following structure, pivot around
the ` amount ` column to sum the total sales per employee for the specified
months:
>
> CREATE OR REPLACE TABLE monthly_sales(empid INT, amount INT, month TEXT)
> AS SELECT * FROM VALUES
> (1, 10000, 'JAN')... | |
snowflake_docs/copy-into-location_18_0.txt | Unloading data to a single file ¶
Unload all rows to a single data file using the SINGLE copy option:
>
> copy into @~ from HOME_SALES
> single = true;
>
>
> Copy
| |
snowflake_docs/create-table_16_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/get_relative_path_3_0.txt | Arguments ¶
` stage_name `
Name of the internal or external stage where the file is stored.
Note
If the stage name includes spaces or special characters, it must be enclosed
in single quotes (e.g. ` '@"my stage"' ` for a stage named ` "my stage" `
).
` absolute_file_path `
Stage location, including the path an... | |
snowflake_docs/show-warehouses_2_0.txt | Syntax ¶
SHOW WAREHOUSES [ LIKE '<pattern>' ]
Copy
| |
snowflake_docs/parameters_74_0.txt | QUOTED_IDENTIFIERS_IGNORE_CASE ¶
Type :
Session — Can be set for Account » User » Session
Object — Can be set for Account » Database » Schema » Table
Data Type :
Boolean
Description :
Specifies whether letters in double-quoted object identifiers are stored and
resolved as uppercase letters. By default, Snowflake ... | |
snowflake_docs/alter-procedure_5_0.txt | Examples ¶
Rename stored procedure ` procedure1 ` to ` procedure2 ` :
>
> ALTER PROCEDURE IF EXISTS procedure1(FLOAT) RENAME TO procedure2;
>
>
> 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/group-by_3_0.txt | Usage Notes ¶
* A GROUP BY clause can reference expressions in the projection clause by name or by position. If the GROUP BY clause references by name, then each reference is resolved as follows:
* If the query contains a database object (e.g. table or view) with a matching column name, then the reference is ... | |
snowflake_docs/show-projection-policies_7_0.txt | label-security-custom-role) .
For general information about roles and privilege grants for performing SQL
overview.html | |
snowflake_docs/st_intersects_7_0.txt | Examples ¶
| |
snowflake_docs/map_contains_key_1_0.txt | MAP_CONTAINS_KEY ¶
available to all accounts.
the specified key.
| |
snowflake_docs/select_14_0.txt | Selecting All Columns With Names That Match a Pattern ¶
This example shows how to select all columns in ` employee_table ` with names
that contain ` id ` :
SELECT * ILIKE '%id%' FROM employee_table;
Copy
+-------------+---------------+
| EMPLOYEE_ID | DEPARTMENT_ID |
|-------------+---------------|... | |
snowflake_docs/create-index_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
CREATE INDEX
| |
snowflake_docs/right_1_0.txt | RIGHT ¶
Returns a rightmost substring of its input.
` RIGHT(STR,N) ` is equivalent to ` SUBSTR(STR,LENGTH(STR)-N+1,N) ` .
See also :
| |
snowflake_docs/parameters_40_0.txt | label-security-encryption-tss) and [
periodic-rekeying) .
Values :
` TRUE ` : Opts out Tri-Secret Secure and Periodic Rekeying for Image
Repository.
` FALSE ` : Disallows the creation of an image repository for Tri-Secret
Secure and Periodic Rekeying accounts. Similarly, disallows enabling Tri-
Secret Secure and Per... | |
snowflake_docs/functions-all_5_0.txt | label-access-control-role-enforcement) in use for the
current session.
|
|
Returns a unique system identifier for the Snowflake session corresponding to
the present connection.
|
|
Returns the SQL text of the statement that is currently executing.
|
|
Returns the status of a _graph_ run that is currently scheduled or i... | |
snowflake_docs/system_registry_list_images_1_0.txt | SYSTEM$REGISTRY_LIST_IMAGES ¶
> services/overview) is available to all Snowflake accounts in AWS commercial
> regions except for trial accounts.
container-services/working-with-registry-repository) .
See also:
guide/snowpark-container-services/working-with-registry-repository)
| |
snowflake_docs/create-security-integration-oauth-external_3_0.txt | Required parameters ¶
` _ name _ `
String that specifies the identifier (i.e. name) for the integration; must be
unique in your account.
In addition, the identifier must start with an alphabetic character and cannot
contain spaces or special characters unless the entire identifier string is
enclosed in double quote... | |
snowflake_docs/upper_4_0.txt | Examples ¶
SELECT v, UPPER(v) FROM lu;
----------------------------------+----------------------------------+
v | upper(v) |
----------------------------------+----------------------------------+
| ... | |
snowflake_docs/current_time_6_0.txt | Examples ¶
Set the time output format to ` HH24:MI:SS.FF ` , then return the current
time with fractional seconds precision first set to 2, then 4, and then the
default (9):
>
> ALTER SESSION SET TIME_OUTPUT_FORMAT = 'HH24:MI:SS.FF';
>
> SELECT CURRENT_TIME(2);
>
> +-----------------+
> | CURREN... | |
snowflake_docs/show-dynamic-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 dynamic table was created.
` name `
|
Name of the dynamic table.
` reserved `
|
` database_name `
|
Database in which the dynamic table is st... | |
snowflake_docs/current_timestamp_6_0.txt | Examples ¶
Set the time output format to ` YYYY-MM-DD HH24:MI:SS.FF ` :
>
> ALTER SESSION SET TIMESTAMP_OUTPUT_FORMAT = 'YYYY-MM-DD HH24:MI:SS.FF';
>
>
> Copy
Return the current timestamp with fractional seconds precision set to 2:
>
> SELECT CURRENT_TIMESTAMP(2);
>
>
> Copy
>
>
> +------------... | |
snowflake_docs/st_x_6_0.txt | Examples ¶
| |
snowflake_docs/translate-snowflake-cortex_2_0.txt | label-cortex-llm-availability) .
Translates the given input text from one supported language to another.
| |
snowflake_docs/show_python_packages_dependencies_5_0.txt | Access Control Requirements ¶
You must use the ACCOUNTADMIN role to call this function.
| |
snowflake_docs/hll_import_2_0.txt | Syntax ¶
HLL_IMPORT(obj)
Copy
| |
snowflake_docs/object_keys_10_0.txt | Example of Nested Objects ¶
This example shows that if the object contains nested objects, only the keys
from the top-most level are returned.
>
> SELECT OBJECT_KEYS (
> PARSE_JSON (
> '{
> "level_1_A": {
> "level_2": ... | |
snowflake_docs/drop-budget_5_0.txt | label-access-control-overview-roles) used to execute this SQL
guide/security-access-control-overview.html | |
snowflake_docs/show-dynamic-tables_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/system_cleanup_database_role_grants_6_0.txt | Example ¶
Call the function:
>
> SELECT SYSTEM$CLEANUP_DATABASE_ROLE_GRANTS('mydb.dbr1' , 'myshare');
>
>
> Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Arguments
3. Access control requirements
4. Usage notes
5. Example
Language : **English** | |
snowflake_docs/system_get_compute_pool_status_1_0.txt | SYSTEM$GET_COMPUTE_POOL_STATUS ¶
> services/overview) is available to all Snowflake accounts in AWS commercial
> regions except for trial accounts.
container-services/working-with-compute-pool) .
See also:
services/working-with-compute-pool)
| |
snowflake_docs/alter-table_23_0.txt | Renaming a Table ¶
The following creates a table named ` t1 ` :
CREATE OR REPLACE TABLE t1(a1 number);
Copy
SHOW TABLES LIKE 't1';
Copy
+-------------------------------+------+---------------+-------------+-------+---------+------------+------+-------+--------+----------------+-----------------+--------... | |
snowflake_docs/create-file-format_12_0.txt | Access Control Requirements ¶
access-control-overview-roles) used to execute this SQL command must have the
overview.html | |
snowflake_docs/show-external-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 external table was created.
name
|
Name of the external table.
database_name
|
Database for the schema for the external table.
schema_name
|
Schema f... | |
snowflake_docs/listagg_7_0.txt | Examples ¶
SELECT LISTAGG(O_ORDERKEY, ' ')
FROM orders WHERE O_TOTALPRICE > 450000;
---------------------------------------------+
LISTAGG(O_ORDERKEY, ' ') |
---------------------------------------------+
41445 55937 67781 80550 95808 101700 103136 |
-------------... | |
snowflake_docs/months_between_6_1.txt | -02-01'::DATE) AS MonthsBetween1,
> MONTHS_BETWEEN('2019-02-01'::DATE,
> '2019-03-01'::DATE) AS MonthsBetween2
> ;
> +----------------+----------------+
> | MONTHSBETWEEN1 | MONTHSBETWEEN2 |
> |----------------+----------------|
> | 1.000000 | -1.000000 ... | |
snowflake_docs/get_ddl_3_0.txt | Arguments ¶
**Required:**
` _ object_type _ `
Specifies the type of object for which the DDL is returned. Valid values
(corresponding to the supported object types) are:
* DATABASE
* DYNAMIC_TABLE
* EVENT_TABLE
* FILE_FORMAT
* FUNCTION (for UDFs, including external functions)
* ICEBERG_TABLE
* P... | |
snowflake_docs/is_time_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) (Type Predicates)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.