id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
snowflake_docs/truncate-table_5_0.txt | Examples ¶
>
> -- create a basic table
> CREATE OR REPLACE TABLE temp (i number);
>
> -- populate it with some rows
> INSERT INTO temp SELECT seq8() FROM table(generator(rowcount=>20)) v;
>
> -- verify that the rows exist
> SELECT COUNT (*) FROM temp;
>
> ----------+
> count(*)... | |
snowflake_docs/desc-external-table_1_0.txt | DESCRIBE EXTERNAL TABLE ¶
Describes the VALUE column and virtual columns in an external table.
DESCRIBE can be abbreviated to DESC.
See also:
| |
snowflake_docs/system_typeof_2_0.txt | Syntax ¶
SYSTEM$TYPEOF( <expr> )
Copy
| |
snowflake_docs/desc-stream_0_0.txt | /
1. Stream
7. Task
STREAM
| |
snowflake_docs/lag_3_0.txt | Arguments ¶
` _ expr _ `
The expression to be returned based on the specified offset.
` _ offset _ `
The number of rows backward from the current row from which to obtain a value.
For example, an ` _ offset _ ` of 2 returns the ` _ expr _ ` value with an
interval of 2 rows.
Note that setting a negative offset ha... | |
snowflake_docs/desc-warehouse_5_0.txt | Examples ¶
This demonstrates the DESCRIBE WAREHOUSE command:
CREATE WAREHOUSE temporary__warehouse WAREHOUSE_SIZE=XSMALL;
Copy
DESCRIBE WAREHOUSE temporary_warehouse;
Copy
+-------------------------------+---------------------+-----------+
| created_on | name | kind ... | |
snowflake_docs/extract_2_0.txt | Syntax ¶
EXTRACT( <date_or_time_part> FROM <date_or_time_expr> )
Copy
| |
snowflake_docs/st_collect_3_0.txt | Arguments ¶
` _ geography_expression_1 _ `
A GEOGRAPHY object.
` _ geography_expression_2 _ `
A GEOGRAPHY object.
| |
snowflake_docs/system_get_tag_on_current_table_2_0.txt | Syntax ¶
SYSTEM$GET_TAG_ON_CURRENT_TABLE( '<tag_name>' )
Copy
| |
snowflake_docs/h3_grid_path_3_0.txt | Syntax ¶
H3_GRID_PATH( <cell_id_1> , <cell_id_2> )
Copy
| |
snowflake_docs/st_aswkt_2_0.txt | Syntax ¶
Use one of the following:
ST_ASWKT( <geography_or_geometry_expression> )
ST_ASTEXT( <geography_or_geometry_expression> )
Copy
| |
snowflake_docs/st_intersection_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_INTERSECTION_AGG
Categories:
| |
snowflake_docs/parse_json_0_0.txt | /
1. JSON and XML Parsing
9. Array/Object Creation and Manipulation
43. Map Creation and Manipulation
51. Extraction
58. Conversion/Casting
82. Type Predicates
Categories:
semistructured) (Parsing)
| |
snowflake_docs/nvl_0_0.txt | /
reference/expressions-conditional) NVL
Categories:
| |
snowflake_docs/system_stream_get_table_timestamp_5_0.txt | Examples ¶
Query the timestamp for the current offset for a stream:
create table MYTABLE1 (id int);
create table MYTABLE2(id int);
create or replace stream MYSTREAM on table MYTABLE1;
insert into MYTABLE1 values (1);
-- consume the stream
begin;
insert into MYTABLE2 select id from MYSTREA... | |
snowflake_docs/sha2_binary_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_makegeompoint_6_0.txt | Examples ¶
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Arguments
3. Returns
4. Usage Notes
5. Examples
Related content
Language : **English** | |
snowflake_docs/show-catalog-integrations_8_0.txt | label-access-control-securable-objects) , see [ Overview of
| |
snowflake_docs/task_dependents_2_0.txt | label-task-dag) .
| |
snowflake_docs/create-resource-monitor_4_0.txt | Optional Parameters ¶
` CREDIT_QUOTA = _ num _ `
The number of credits allocated to the resource monitor per frequency
interval. When total usage for all warehouses assigned to the monitor reaches
this number for the current frequency interval, the resource monitor is
considered to be at 100% of quota.
If a value... | |
snowflake_docs/sentiment-snowflake-cortex_6_0.txt | Access Control ¶
Users must use a role that has been granted the [ SNOWFLAKE.CORTEX_USER
functions.html | |
snowflake_docs/show-image-repositories_6_0.txt | label-access-control-securable-objects) , see [ Overview of
| |
snowflake_docs/st_coveredby_6_0.txt | Examples ¶
| |
snowflake_docs/listagg_14_0.txt | 000000386 |
---------------+--------------------------------------------------------------------+
Copy
The following example shows collation with LISTAGG. Note the difference in
output order with the different collation specifications.
>
> -- Collation
> SELECT LISTAGG(spanish_phrase, '|')
> WIT... | |
snowflake_docs/current_user_1_0.txt | CURRENT_USER ¶
Returns the name of the user currently logged into the system.
| |
snowflake_docs/desc-alert_9_0.txt | Examples ¶
alerts-show-desc) .
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/system_generate_saml_csr_2_0.txt | Syntax ¶
SYSTEM$GENERATE_SAML_CSR( <name> , <DN> )
Copy
| |
snowflake_docs/literals-table_2_0.txt | Syntax ¶
TABLE( { <string_literal> | <session_variable> | <bind_variable> } )
Copy
` _ string_literal _ `
* The identifier can be fully-qualified in the form of:
` _ db_name _ . _ schema_name _ . _ table_name _ `
` _ schema_name _ . _ table_name _ `
* Double quotes are supported for individual obje... | |
snowflake_docs/row_number_4_0.txt | Usage Notes ¶
* ` _ expr1 _ ` and ` _ expr2 _ ` specify the column(s) or expression(s) to partition by. You can partition by 0, 1, or more expressions.
For example, suppose that you are selecting data across multiple states (or
provinces) and you want row numbers from 1 to N within each state; in that
case, you... | |
snowflake_docs/try_to_binary_1_0.txt | TRY_TO_BINARY ¶
operation (i.e. converts an input expression to a binary value), but with
error handling support (i.e. if the conversion cannot be performed, it returns
a NULL value instead of raising an error).
For more information, see:
| |
snowflake_docs/show-external-functions_5_0.txt | Examples ¶
Show all external functions:
>
> SHOW EXTERNAL FUNCTIONS;
>
>
> Copy
Show only external functions matching the specified regular expression:
>
> SHOW EXTERNAL FUNCTIONS LIKE 'SQUARE%';
>
>
> Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Paramet... | |
snowflake_docs/network_rule_references_5_0.txt | Usage notes ¶
Use one syntax or the other. Do not mix arguments.
| |
snowflake_docs/drop-aggregation-policy_4_0.txt | Parameters ¶
` _ name _ `
Specifies the identifier for the aggregation policy to drop.
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/lower_3_0.txt | Collation Details ¶
Arguments with collation specifications are currently not supported.
| |
snowflake_docs/st_makepolygonoriented_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_MAKEPOLYGONORIENTED
Categories:
| |
snowflake_docs/cast_1_0.txt | CAST , ` :: ` ¶
Converts a value of one data type into another data type. The semantics of
CAST are the same as the semantics of the corresponding TO_ ` _ datatype _ `
conversion functions. If the cast is not possible, an error is raised. For
more details, see the individual TO_ ` _ datatype _ ` conversion functio... | |
snowflake_docs/st_union_agg_3_0.txt | Arguments ¶
` _ geography_column _ `
A GEOGRAPHY column.
| |
snowflake_docs/binary-input-output_13_0.txt | BASE64 Format Example ¶
Before reading this section, you might want to read the Hexadecimal Format
section above. The basic concepts are similar, and the Hexadecimal Format
section explains them in more detail.
> Start by creating a table with a BINARY column:
>
>
> CREATE TABLE demo_binary (b BINARY);
>
>... | |
snowflake_docs/drop-session-policy_1_0.txt | DROP SESSION POLICY ¶
Session policies requires Enterprise Edition or higher. To inquire about
upgrading, please contact [ Snowflake Support
Snowflake-Lodge) .
Removes a session policy from the system.
See also:
policies.html | |
snowflake_docs/getdate_3_0.txt | Arguments ¶
None. This function must be called with parentheses.
| |
snowflake_docs/concat_2_0.txt | Syntax ¶
CONCAT( <expr1> [ , <exprN> ... ] )
<expr1> || <expr2> [ || <exprN> ... ]
Copy
| |
snowflake_docs/drop-share_4_0.txt | Usage Notes ¶
* Only the share owner, the role with the OWNERSHIP privilege on the share, has the privileges to drop a share. Executing this command with any other role returns an error.
* Dropped shares cannot be recovered; they must be recreated.
* Dropping a share does not affect the database in the share... | |
snowflake_docs/alter-external-volume_8_0.txt | label-security-custom-role) .
For general information about roles and privilege grants for performing SQL
overview.html | |
snowflake_docs/decode_5_0.txt | Collation Details ¶
* The collation specifications of the select expression and the search expressions must all be compatible.
| |
snowflake_docs/create-database_16_0.txt | Examples ¶
Create two permanent databases, one with a data retention period of 10 days:
>
> CREATE DATABASE mytestdb;
>
> CREATE DATABASE mytestdb2 DATA_RETENTION_TIME_IN_DAYS = 10;
>
> SHOW DATABASES LIKE 'my%';
>
>
> +---------------------------------+------------+------------+------------+------... | |
snowflake_docs/transactions_26_0.txt | Aborting Transactions ¶
If a transaction is running in a session and the session disconnects abruptly,
preventing the transaction from committing or rolling back, the transaction is
left in a detached state, including any locks that the transaction is holding
on resources. If this happens, you might need to abort th... | |
snowflake_docs/parse_xml_6_0.txt | Examples ¶
The following example demonstrates how to use the PARSE_XML function to
convert a string of XML to an OBJECT that can be inserted into an OBJECT
column:
>
> CREATE TABLE xtab (v OBJECT);
>
> INSERT INTO xtab SELECT PARSE_XML(column1) AS v
> FROM VALUES ('<a/>'), ('<a attr="123">text</a>'),... | |
snowflake_docs/commands-data-governance_1_0.txt | Data Governance Commands ¶
Data Governance commands enable you to manage data governance.
| |
snowflake_docs/listing-access-history_18_0.txt | Table Joins By Consumer ¶
A view of which tables are being joined together (pairs) broken down by
consumer.
with
accesses as (
select distinct
los.value:"objectDomain"::string as object_type,
los.value:"objectName"::string as object_name,
lah.query_token,
lah.consumer_ac... | |
snowflake_docs/show-shares-in-replication-group_4_0.txt | Usage Notes ¶
* Executing this command requires a role with either the OWNERSHIP or MONITOR privilege on the replication group. The command returns results only for a role with the MONITOR privilege on a share.
| |
snowflake_docs/desc-masking-policy_5_0.txt | label-access-control-overview-privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
APPLY MASKING POLICY
|
Account
|
APPLY
|
Masking policy
|
OWNERSHIP
|
Masking 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/data-types-text_10_0.txt | Internal Representation ¶
The BINARY data type holds a sequence of 8-bit bytes.
When Snowflake displays BINARY data values, Snowflake often represents each
byte as 2 hexadecimal characters. For example, the word “HELP” might be
displayed as ` 48454C50 ` , where “48” is the hexadecimal equivalent of the
ASCII (Unico... | |
snowflake_docs/alter-stage_13_0.txt | TYPE = XML ¶
Available to all accounts.
` COMPRESSION = AUTO | GZIP | BZ2 | BROTLI | ZSTD | DEFLATE |
RAW_DEFLATE | NONE `
Use :
Data loading only
Definition :
* When loading data, specifies the current compression algorithm for the data file. Snowflake uses this option to detect how an already-... | |
snowflake_docs/show-services_2_0.txt | Syntax ¶
SHOW SERVICES [ LIKE '<pattern>' ]
[ IN
{
ACCOUNT |
DATABASE |
DATABASE <database_name> |
SCHEMA |
SCHEMA <s... | |
snowflake_docs/try_to_time_3_0.txt | Arguments ¶
**Required:**
One of:
> ` _ string_expr _ `
>
>
> This should be a string that can be converted to a valid time.
>
> ` ' _ integer _ ' `
>
>
> An expression that evaluates to a string containing an integer, for
> example ‘15000000’. Depending upon the magnitude of the string, it can be
> interp... | |
snowflake_docs/metering_daily_history_5_0.txt | Example ¶
compute.html | |
snowflake_docs/create-sequence_3_0.txt | Required Parameters ¶
` _ name _ `
Specifies the identifier for the sequence; must be unique for the schema in
which the sequence is created.
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 ... | |
snowflake_docs/session-variables_6_0.txt | Using SQL to Initialize Variables in a Session ¶
data type of the variable is derived from the data type of the result of the
evaluated expression.
>
> SET MY_VARIABLE=10;
> SET MY_VARIABLE='example';
>
>
> Copy
Multiple variables can be initialized in the same statement, thereby reducing
the number of rou... | |
snowflake_docs/access_history_1_0.txt | ACCESS_HISTORY View ¶
Access History requires Enterprise Edition (or higher). To inquire about
upgrading, please contact [ Snowflake Support
Snowflake-Lodge) .
Access History is generally available to all accounts that are Enterprise
Edition (or higher).
These columns are in preview:
* ` object_modified_by_ddl `
... | |
snowflake_docs/index_columns_1_0.txt | INDEX_COLUMNS View ¶
Available to all accounts.
This Information Schema view displays a row for each column in the indexes
defined in the specified (or current) database.
| |
snowflake_docs/getvariable_5_0.txt | Usage notes ¶
This function uses the result cache for the current session if you call the
function more than once in the same session. The result cache applies wherever
you call this function, including the body of policy objects, such as a row
access policy.
| |
snowflake_docs/try_to_binary_0_0.txt | /
1. Any Data Type
4. Text, Character, Binary Data Types
9. Numeric Data Types
18. Boolean Data Types
21. Date and Time Data Types
36. Semi-Structured Data Types
40. Geospatial Data Types
conversion) TRY_TO_BINARY
Categories:
| |
snowflake_docs/desc-table_5_0.txt | Examples ¶
Create an example table:
>
> CREATE TABLE emp (id NUMBER NOT NULL PRIMARY KEY, fname VARCHAR(50),
> lname VARCHAR(50), location VARCHAR(100));
>
>
> Copy
Describe the columns in the table:
>
> DESC TABLE emp;
>
>
> Copy
Describe the stage properties for the table:
>
> DESC TABLE emp TYPE =... | |
snowflake_docs/create-security-integration-oauth-external_8_0.txt | label-access-control-securable-objects) , see [ Overview of
| |
snowflake_docs/translate_1_0.txt | TRANSLATE ¶
The ` TRANSLATE() ` function replaces characters in a string. Specifically,
given a string, a set of characters to replace, and the characters to
substitute for the original characters, ` TRANSLATE() ` makes the specified
substitutions.
| |
snowflake_docs/in_2_0.txt | Syntax ¶
To compare individual values:
<value> [ NOT ] IN ( <value_1> [ , <value_2> ... ] )
Copy
To compare _row constructors_ (parenthesized lists of values):
( <value_A> [, <value_B> ... ] ) [ NOT ] IN ( ( <value_1> [ , <value_2> ... ] ) [ , ( <value_3> [ , <value_4> ... ] ) ... ] )
Copy
To compare a... | |
snowflake_docs/st_disjoint_2_0.txt | label-data-types-geometry) objects are disjoint (i.e. do not
share any portion of space). ST_DISJOINT is equivalent to NOT [
Note
This function does not support using a GeometryCollection or FeatureCollection
as input values.
See also:
| |
snowflake_docs/alter-warehouse_8_0.txt | label-access-control-overview-privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
APPLY
|
Tag
|
Enables setting a tag on a warehouse.
MODIFY
|
Warehouse
|
Enables altering any properties of a warehouse, including changing its size.
Required to assign a warehouse to a resource monitor. Only the ACCOUN... | |
snowflake_docs/system_block_internal_stages_public_access_5_0.txt | Returns ¶
This function returns the following status messages:
Status Message
|
Description
---|---
Public Access to internal stages is blocked. Private link is required to
connect to internal stages of this account.
|
Indicates that the function successfully blocked public access.
Network config is not found,... | |
snowflake_docs/alter-application_0_0.txt | /
1. APPLICATION
7. APPLICATION PACKAGE
12. APPLICATION ROLE
19. Additional Commands
ALTER APPLICATION
| |
snowflake_docs/listing-events-daily_0_0.txt | /
Schema:
| |
snowflake_docs/lower_0_0.txt | /
1. General Manipulation
34. Case Conversion
38. Regular Expression Matching
48. Other Matching/Comparison
66. Compression/Decompression
70. Encoding/Decoding
81. Cryptographic/Checksum
93. Hash (Non-cryptographic)
96. Co... | |
snowflake_docs/alter-authentication-policy_1_0.txt | ALTER AUTHENTICATION POLICY ¶
Available to all accounts.
Modifies the properties of an authentication policy.
See also:
| |
snowflake_docs/lead_2_0.txt | Syntax ¶
LEAD ( <expr> [ , <offset> , <default> ] ) [ { IGNORE | RESPECT } NULLS ] OVER ( [ PARTITION BY <expr1> ] ORDER BY <expr2> [ { ASC | DESC } ] )
Copy
| |
snowflake_docs/st_xmax_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/to_double_0_0.txt | /
1. Any Data Type
4. Text, Character, Binary Data Types
9. Numeric Data Types
18. Boolean Data Types
21. Date and Time Data Types
36. Semi-Structured Data Types
40. Geospatial Data Types
conversion) TO_DOUBLE
Categories:
| |
snowflake_docs/functions-analytic_16_0.txt | Window Frame Usage Notes ¶
* For cumulative window frames:
* ` ROWS ` computes the result for the current row using all rows from the beginning or end of the partition to the current row (according to the specified ` ORDER BY ` subclause).
* ` RANGE ` is similar to ` ROWS ` , except it only computes... | |
snowflake_docs/create-authentication-policy_2_0.txt | Syntax ¶
CREATE [ OR REPLACE ] AUTHENTICATION POLICY [ IF NOT EXISTS ] <name>
[ CLIENT_TYPES = ( '<string_literal>' [ , '<string_literal>' , ... ] ) ]
[ AUTHENTICATION_METHODS = ( '<string_literal>' [ , '<string_literal>' , ... ] ) ]
[ SECURITY_INTEGRATIONS = ( '<string_literal>' [ , '<string... | |
snowflake_docs/approximate_jaccard_index_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/last_value_4_0.txt | Usage Notes ¶
* For compatibility with implementations of this function in other systems, ` { IGNORE | RESPECT } NULLS ` can also be specified in the arguments for the function:
> ` LAST_VALUE( <expr> [ { IGNORE | RESPECT } NULLS ] ) OVER ... `
* If ` { IGNORE | RESPECT } NULLS ` is not ... | |
snowflake_docs/unset_4_0.txt | Usage Notes ¶
* The command supports dropping multiple variables in the same statement.
* The command does not require a running warehouse to execute.
| |
snowflake_docs/as_object_3_0.txt | Arguments ¶
` _ variant_expr _ `
An expression that evaluates to a value of type VARIANT.
| |
snowflake_docs/show-tasks_2_0.txt | Syntax ¶
SHOW [ TERSE ] TASKS [ LIKE '<pattern>' ]
[ IN { ACCOUNT | DATABASE [ <db_name> ] | [ SCHEMA ] [ <schema_name> ] } ]
[ STARTS WITH '<name_string>' ]
[ ROOT ONLY ]
[ LIMIT <rows> [ FROM '<name_string>' ] ]... | |
snowflake_docs/object_keys_3_0.txt | Arguments ¶
` _ object _ `
The value for which you want the keys. The input value must be one of the
following:
| |
snowflake_docs/to_boolean_3_0.txt | Usage Notes ¶
* For a text expression, the string must be:
> * ` 'true' ` , ` 't' ` , ` 'yes' ` , ` 'y' ` , ` 'on' ` , ` '1' `
> return TRUE.
>
> * ` 'false' ` , ` 'f' ` , ` 'no' ` , ` 'n' ` , ` 'off' ` , ` '0' `
> return FALSE.
>
> * All other strings return an error.
Strings are case-ins... | |
snowflake_docs/translate-snowflake-cortex_7_0.txt | Access Control ¶
Users must use a role that has been granted the [ SNOWFLAKE.CORTEX_USER
functions.html | |
snowflake_docs/top_n_2_0.txt | Syntax ¶
SELECT
[ TOP <n> ]
...
FROM ...
[ ORDER BY ... ]
[ ... ]
Copy
| |
snowflake_docs/system_get_service_status_4_0.txt | Arguments ¶
**Required:**
` _ service_name _ `
Service name. If you omit the ` _ db_name _ ` and ` _ schema_name _ ` , the
function uses the current database and schema.
**Optional:**
` _ timeout_secs _ `
Number of seconds to wait for the service to reach a steady state (for
example, READY) before returning the ... | |
snowflake_docs/aggregate_access_history_0_0.txt | /
Schema:
| |
snowflake_docs/get_query_operator_stats_1_0.txt | GET_QUERY_OPERATOR_STATS ¶
Returns statistics about individual query operators within a query that has
completed. You can run this function for any completed query that was executed
in the past 14 days.
You can use this information to understand the structure of a query and
identify query operators (e.g. the join op... | |
snowflake_docs/alter-masking-policy_9_0.txt | Examples ¶
The following example updates the masking policy to use a SHA-512 hash. Users
without the ANALYST role see the value as a SHA-512 hash, while users with the
ANALYST role see the plain-text value.
DESCRIBE MASKING POLICY email_mask;
Copy
+-----+------------+---------------+-------------------+-----... | |
snowflake_docs/system_registry_list_images_6_0.txt | Examples ¶
This function retrieves a list of images from the `
/tutorial_db/data_schema/tutorial_repository ` repository.
SELECT SYSTEM$REGISTRY_LIST_IMAGES('/tutorial_db/data_schema/tutorial_repository');
Copy
Sample output showing a list of two images in the repository:
+----------------------------------... | |
snowflake_docs/lpad_6_0.txt | Collation Details ¶
Collation applies to ` VARCHAR ` inputs. Collation does not apply if the
input data type of the first parameter is ` BINARY ` .
Although collation is accepted syntactically, collations have no impact on
processing. For example, languages with two-character and three-character
letters (e.g. “dzs... | |
snowflake_docs/array_unique_agg_7_0.txt | Aggregation ¶
See [ Using Arrays 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. Usage Notes
5. Examples
Language : **English** | |
snowflake_docs/trunc2_1_0.txt | TRUNC ¶
Truncates a date, time, or timestamp to the specified part. For example,
truncating a timestamp down to the quarter returns the timestamp corresponding
to midnight of the first day of the original timestamp’s quarter.
arguments).
Note
This function is overloaded; it can also be used as a numeric function to ... | |
snowflake_docs/show-endpoints_7_0.txt | label-access-control-overview-privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
USAGE
|
Service
|
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 privileges,
configu... | |
snowflake_docs/exception_4_1.txt | ESULT;
>
> EXCEPTION
> WHEN e1 THEN
> RESULT := 'Outer exception raised.';
> RETURN RESULT;
>
> END;
>
>
> Copy
>
> (see [ Using Snowflake Scripting in SnowSQL and the Classic Console
>
>
> EXECUTE IMMEDIATE $$
> DECLARE
> RESULT VARCHAR;
> e1 ... | |
snowflake_docs/array_remove_4_0.txt | Returns ¶
An ARRAY with all elements equal to the specified value removed.
If ` _ value_of_elements_to_remove _ ` is NULL, the function returns NULL.
| |
snowflake_docs/system_pipe_status_0_0.txt | /
1. Control
29. Information
90. Query Information
SYSTEM$PIPE_STATUS
Categories:
| |
snowflake_docs/st_union_1_0.txt | ST_UNION ¶
Given two input GEOGRAPHY objects, returns a GEOGRAPHY object that represents
the combined set of shapes for both objects (i.e. the union of the two
shapes).
See also:
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.