id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
snowflake_docs/create-notification-integration_3_0.txt | Syntax ¶
**Automated data loads or metadata refreshes**
CREATE [ OR REPLACE ] NOTIFICATION INTEGRATION [IF NOT EXISTS]
<name>
ENABLED = { TRUE | FALSE }
TYPE = QUEUE
cloudProviderParamsAuto
[ COMMENT = '<string_literal>' ]
Copy
Where:
>
> cloudProviderParamsAuto (for Google Clou... | |
snowflake_docs/show-global-accounts_1_0.txt | SHOW GLOBAL ACCOUNTS ¶
replication-accounts) instead.
Lists all the accounts in your organization that are enabled for replication
and indicates the Snowflake Region in which each account is located.
Currently, linking accounts in your organization for replication requires
assistance from Snowflake Support.
See also... | |
snowflake_docs/div0null_1_0.txt | DIV0NULL ¶
Performs division like the division operator ( ` / ` ), but returns 0 when
the divisor is 0 or NULL (rather than reporting an error or returning NULL).
See also:
| |
snowflake_docs/listing-auto-fulfillment-database-storage-daily_3_0.txt | Usage Notes ¶
* Latency for the view may be up to 2 days.
* The data is retained for 365 days (1 year).
* Stage storage is not included in this view.
* The view only contains data from 2023-04-16 onward.
* In cases where auto-fulfillment is incomplete, the array returned for the LISTINGS column might b... | |
snowflake_docs/create-external-function_1_0.txt | CREATE EXTERNAL FUNCTION ¶
See also:
| |
snowflake_docs/desc-stream_4_0.txt | Usage Notes ¶
| |
snowflake_docs/with_13_0.txt | Recursive Examples ¶
This is a basic example of using a recursive CTE to generate a Fibonacci
series:
>
> WITH RECURSIVE current_f (current_val, previous_val) AS
> (
> SELECT 0, 1
> UNION ALL
> SELECT current_val + previous_val, current_val FROM current_f
> WHERE current... | |
snowflake_docs/show-release-directives_6_0.txt | Examples ¶
SHOW RELEASE DIRECTIVES IN APPLICATION PACKAGE hello_snowflake_package;
Copy
+---------+-------------+---------------------------------+-------------------------------+---------+-------+-------------------------------+
| name | target_type | target_name | created_on ... | |
snowflake_docs/alter-failover-group_12_0.txt | | | | ____ month (1-12, JAN-DEC)
| |
snowflake_docs/object_construct_keep_null_5_0.txt | Usage Notes ¶
* The function accepts either:
* A sequence of zero or more key-value pairs (where keys are strings, and values are of any type).
* An asterisk.
When invoked with an asterisk, the object is constructed using the attribute
names as keys and the associated tuple values as values. See the exa... | |
snowflake_docs/join-lateral_0_0.txt | /
Categories:
| |
snowflake_docs/show-release-directives_4_0.txt | Usage Notes ¶
* This command requires either the OWNERSHIP privilege on the application, or either the MANAGE RELEASES or the MANAGE VERSIONS privilege on the application package.
* The command returns results for release directives that match the privileges granted to the role that executes this command.
| |
snowflake_docs/booland_1_0.txt | BOOLAND ¶
Computes the Boolean AND of two numeric expressions. In accordance with
Boolean semantics:
* Non-zero values (including negative numbers) are regarded as True.
* Zero values are regarded as False.
As a result, the function returns:
* ` True ` if both expressions are non-zero.
* ` False ` if bo... | |
snowflake_docs/array_agg_5_0.txt | Usage Notes ¶
* If you do not specify WITHIN GROUP(ORDER BY), the order of elements within each array is unpredictable. (An ORDER BY clause outside the WITHIN GROUP clause applies to the order of the output rows, not to the order of the array elements within a row.)
* If you specify a number for an expression i... | |
snowflake_docs/forecast_9_0.txt | SHOW SNOWFLAKE.ML.FORECAST ¶
Lists all forecasting models.
| |
snowflake_docs/alter-table_14_0.txt | TYPE = CSV ¶
` COMPRESSION = AUTO | GZIP | BZ2 | BROTLI | ZSTD | DEFLATE |
RAW_DEFLATE | NONE `
Use :
Data loading, data unloading, and external tables
Definition :
* When loading data, specifies the current compression algorithm for the data file. Snowflake uses this option to detect how an alr... | |
snowflake_docs/hll_combine_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/alter-password-policy_3_0.txt | Syntax ¶
ALTER PASSWORD POLICY [ IF EXISTS ] <name> RENAME TO <new_name>
ALTER PASSWORD POLICY [ IF EXISTS ] <name> SET [ PASSWORD_MIN_LENGTH = <integer> ]
[ PASSWORD_MAX_LENGTH = <integer> ]
[ PASSWORD_MIN_... | |
snowflake_docs/system_get_privatelink_authorized_endpoints_2_0.txt | Syntax ¶
>
> SYSTEM$GET_PRIVATELINK_AUTHORIZED_ENDPOINTS()
>
>
> Copy
| |
snowflake_docs/system_get_gcp_kms_cmk_grant_access_cmd_4_0.txt | Usage notes ¶
* This function is for use in Snowflake accounts on Google Cloud Platform only.
* Only account administrators (i.e. users with the ACCOUNTADMIN role) or a role that is granted the MONITOR SECURITY privilege can call this function.
| |
snowflake_docs/try_to_decimal_2_0.txt | Syntax ¶
TRY_TO_DECIMAL( <string_expr> [, '<format>' ] [, <precision> [, <scale> ] ] )
TRY_TO_NUMBER( <string_expr> [, '<format>' ] [, <precision> [, <scale> ] ] )
TRY_TO_NUMERIC( <string_expr> [, '<format>' ] [, <precision> [, <scale> ] ] )
Copy
| |
snowflake_docs/system_get_cmk_kms_key_policy_5_0.txt | Examples ¶
Return a snippet of the AWS KMS policy for use with customer-managed keys and
Tri-Secret Secure:
>
> SELECT SYSTEM$GET_CMK_KMS_KEY_POLICY();
>
>
> Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Arguments
3. Usage notes
4. Examples
Language : ... | |
snowflake_docs/create-materialized-view_6_0.txt | label-data-clustering) .
` SECURE `
Specifies that the view is secure. For more information about secure views,
Default: No value (view is not secure)
` COPY GRANTS `
If you are replacing an existing view by using the ` OR REPLACE ` clause,
then the replacement view retains the access permissions from the original... | |
snowflake_docs/show-file-formats_2_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-network-rule_6_0.txt | label-access-control-overview-privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
CREATE NETWORK RULE
|
Schema
|
Only the ACCOUNTADMIN and SECURITYADMIN roles, along with the schema owner,
have this privilege by default. It can be granted to additional roles as
needed.
For instructions on creating a ... | |
snowflake_docs/system_database_refresh_progress_6_0.txt | Examples ¶
The following example retrieves the current refresh status for the specified
secondary database. The results are returned in a JSON object:
>
> SELECT SYSTEM$DATABASE_REFRESH_PROGRESS('mydb');
>
>
> Copy
The following example retrieves the same details as in the previous example,
but the results are... | |
snowflake_docs/create-service_6_0.txt | Access control requirements ¶
access-control-overview-roles) used to execute this SQL command must have the
overview.html | |
snowflake_docs/st_makepoint_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_MAKEPOINT
Categories:
| |
snowflake_docs/show-user-functions_0_0.txt | /
1. User Defined Function
7. External Function
13. Stored Procedure
21. Snowflake Scripting
function) SHOW USER FUNCTIONS
| |
snowflake_docs/alter-projection-policy_6_0.txt | label-access-control-overview-privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
OWNERSHIP
|
Projection policy
|
OWNERSHIP is a special privilege on an object that is automatically granted to
the role that created the object, but can also be transferred using the [
role (or any role with the MANAGE GR... | |
snowflake_docs/data_classification_latest_3_0.txt | Usage Notes ¶
* Latency for this view might be up to three hours.
* This view retains data for as long as the table exists.
* A row in the view is removed when the following occur:
* A table is dropped or renamed.
* The table is reclassified.
Was this page helpful?
Yes No
Inc. All Rights Reserve... | |
snowflake_docs/system_abort_transaction_1_0.txt | SYSTEM$ABORT_TRANSACTION ¶
Aborts the specified transaction, if it is running. If the transaction has
already been committed or rolled back, then the state of the transaction is
not altered.
| |
snowflake_docs/log_3_0.txt | Arguments ¶
` _ base _ `
The “base” to use (e.g. 10 for base 10 arithmetic).
This can be of any numeric data type (INTEGER, fixed-point, or floating
point).
` _ base _ ` should be greater than 0.
` _ base _ ` should not be exactly 1.0.
` _ expr _ `
The value for which you want to know the log.
This can be of any... | |
snowflake_docs/array_generate_range_6_0.txt | Examples ¶
The following example returns an ARRAY containing a range of numbers starting
from 2 and ending before 5:
SELECT ARRAY_GENERATE_RANGE(2, 5);
Copy
+----------------------------+
| ARRAY_GENERATE_RANGE(2, 5) |
|----------------------------|
| [ |
| 2, ... | |
snowflake_docs/select_18_0.txt | Selecting All Columns and Renaming Multiple Columns ¶
This example shows how to select all columns in ` employee_table ` and rename
the ` department_id ` and ` employee_id ` columns:
SELECT * RENAME (department_id AS department, employee_id AS id) FROM employee_table;
Copy
+-----+------------+------------... | |
snowflake_docs/data-types-numeric_2_0.txt | Data Types for Fixed-point Numbers ¶
Snowflake supports the following data types for fixed-point numbers.
| |
snowflake_docs/listing-auto-fulfillment-database-storage-daily_2_0.txt | Columns ¶
Column Name
|
Data Type
|
Description
---|---|---
REGION_GROUP
|
VARCHAR
|
groups) where the storage usage occurred.
SNOWFLAKE_REGION
|
VARCHAR
|
snowflake-region-ids) where the storage usage occurred.
USAGE_DATE
|
DATE
|
Date in UTC when the storage usage was recorded.
DATABASE_NAME
|
VARCHAR
|
... | |
snowflake_docs/create-share_6_0.txt | label-access-control-overview-privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
CREATE SHARE
|
Account
|
Only the ACCOUNTADMIN role has this privilege by default. The privilege can be
granted to additional roles as needed.
For instructions on creating a custom role with a specified set of privilege... | |
snowflake_docs/approx_top_k_accumulate_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/if_2_0.txt | Syntax ¶
IF ( <condition> ) THEN
<statement>;
[ <statement>; ... ]
[
ELSEIF ( <condition> ) THEN
<statement>;
[ <statement>; ... ]
]
[
ELSE
<statement>;
[ <statement>; ... ]
]
END IF;
Copy
Where:
> ` _ condition _ `
>
>
> An expressio... | |
snowflake_docs/validate_pipe_load_5_0.txt | Output ¶
The function returns the following columns:
Column Name
|
Data Type
|
Description
---|---|---
ERROR
|
TEXT
|
First error in the source file.
FILE
|
TEXT
|
Name of the source file where the error was encountered.
LINE
|
NUMBER
|
Number of the line in the source file where the error was encountered. ... | |
snowflake_docs/regexp_substr_0_0.txt | /
reference/functions-regexp) REGEXP_SUBSTR
Categories:
| |
snowflake_docs/desc-dynamic-table_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
DESCRIBE DYNAMIC TABLE
| |
snowflake_docs/h3_cell_to_point_5_0.txt | Examples ¶
The following example returns the GEOGRAPHY object for the Point that
represents the centroid of the H3 cell containing the Brandenburg Gate. The
example specifies the H3 cell ID as an INTEGER value.
SELECT H3_CELL_TO_POINT(613036919424548863);
Copy
+--------------------------------------+
| H... | |
snowflake_docs/show-grants_6_1.txt | --+-----------+----------+---------------------------+----------+-----------------------+--------------+
>
>
> Copy
List all roles privileges granted to the instance role named `
cost.budgets.my_budget!ADMIN ` :
>
> SHOW GRANTS TO SNOWFLAKE.CORE.BUDGET ROLE cost.budgets.my_budget!ADMIN;
>
>
> Copy
>
>
>
> ... | |
snowflake_docs/functions-string_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/parse_ip_1_0.txt | PARSE_IP ¶
Returns a JSON object consisting of all the components from a valid INET
(Internet Protocol) or CIDR (Classless Internet Domain Routing) IPv4 or IPv6
string.
| |
snowflake_docs/show-databases_0_0.txt | /
1. Database
9. Schema
17. Share
database) SHOW DATABASES
| |
snowflake_docs/drop-index_2_0.txt | label-hybrid-table-limitations-regions) .
Drops a secondary index.
See also:
| |
snowflake_docs/alter-table_15_1.txt | s only when loading
JSON data into separate columns using the MATCH_BY_COLUMN_NAME copy option.
Default :
` FALSE `
` NULL_IF = ( ' _ string1 _ ' [ , ' _ string2 _ ' , ... ] ) `
Use :
Data loading only
Definition :
String used to convert to and from SQL NULL. Snowflake replaces these strings
in the d... | |
snowflake_docs/show-row-access-policies_6_0.txt | label-security-custom-role) .
For general information about roles and privilege grants for performing SQL
overview.html | |
snowflake_docs/st_within_1_0.txt | ST_WITHIN ¶
Returns true if the first geospatial object is fully contained by the second
geospatial object. In other words:
Calling ` ST_WITHIN(g1, g2) ` is equivalent to calling ` ST_CONTAINS(g2,
g1) ` .
Although ST_COVEREDBY and ST_WITHIN might seem similar, the two functions have
subtle differences. For detail... | |
snowflake_docs/base64_encode_1_0.txt | BASE64_ENCODE ¶
Encodes the input (string or binary) using Base64 encoding.
See also:
| |
snowflake_docs/alter-user_0_0.txt | /
1. User Management
7. Database Role Management
16. Account-level Role Management
25. Privilege Management
ALTER USER
| |
snowflake_docs/date-time-input-output_20_0.txt | Summary of Best Practices for Specifying the Format ¶
These best practices minimize ambiguities and other potential issues in past,
current, and projected future versions of Snowflake:
* Be aware of the dangers of mixing data from sources that use different formats (e.g. of mixing data that follows the common U.S.... | |
snowflake_docs/alter-pipe_2_0.txt | Syntax ¶
ALTER PIPE [ IF EXISTS ] <name> SET { [ objectProperties ]
[ COMMENT = '<string_literal>' ] }
ALTER PIPE <name> SET TAG <tag_name> = '<tag_value>' [ , <tag_name> = '<tag_value>' ... ]
ALTER PIPE <name> UNSET TAG <tag_name> [ , <tag_name> ... ]
ALTER ... | |
snowflake_docs/use-secondary-roles_1_0.txt | USE SECONDARY ROLES ¶
Specifies the active/current secondary roles for the session. The currently-
active secondary roles set the context that determines whether the current
user has the necessary privileges to perform SQL actions.
create objects is provided by the primary role.
guide/security-access-control-overvie... | |
snowflake_docs/try_to_timestamp_2_0.txt | Syntax ¶
timestampFunction ( <string_expr> [, <format> ] )
timestampFunction ( '<integer>' )
Copy
Where:
>
> timestampFunction ::=
> TRY_TO_TIMESTAMP | TRY_TO_TIMESTAMP_LTZ | TRY_TO_TIMESTAMP_NTZ |
> TRY_TO_TIMESTAMP_TZ
>
>
> Copy
| |
snowflake_docs/grant-application-role_6_0.txt | label-budgets-application-roles) to a custom role.
OWNERSHIP
|
Role
|
Role that is granted to an account role or another application role. However
the application owner can grant an application role to another application
role or account role. OWNERSHIP is a special privilege on an object that is
automatically grante... | |
snowflake_docs/h3_get_resolution_3_0.txt | Arguments ¶
` _ cell_id _ `
An INTEGER that represents the H3 cell ID ( [ index
represents the cell ID in hexadecimal format.
| |
snowflake_docs/undrop-account_5_0.txt | Usage Notes ¶
Only organization administrators (i.e. a user with the ORGADMIN role) can
execute the command.
| |
snowflake_docs/asof-join_9_0.txt | Using a Different Comparison Operator in the Match Condition ¶
Following on from the previous example, the results of the query change again
when the comparison operator in the match condition is changed. The following
query specifies the ` <= ` operator (instead of ` >= ` ):
SELECT t.stock_symbol, t.trade_tim... | |
snowflake_docs/system_get_service_logs_3_0.txt | Syntax ¶
SYSTEM$GET_SERVICE_LOGS( <service_name>, <instance_id>, <container_name>
[, <number_of_most_recent_lines> ] )
Copy
| |
snowflake_docs/commands-security_4_0.txt | Network rule ¶
| |
snowflake_docs/length_6_0.txt | Examples ¶
SELECT s, LENGTH (s) FROM strings;
----------------------+-----------+
s | length(s) |
----------------------+-----------+
| 0 |
Joyeux Noël | 11 |
Merry Christmas | 15 |
Veselé Vianoce |... | |
snowflake_docs/create-alert_8_0.txt | | | | ____ month (1-12, JAN-DEC)
| |
snowflake_docs/create-warehouse_2_0.txt | Syntax ¶
CREATE [ OR REPLACE ] WAREHOUSE [ IF NOT EXISTS ] <name>
[ [ WITH ] objectProperties ]
[ [ WITH ] TAG ( <tag_name> = '<tag_value>' [ , <tag_name> = '<tag_value>' , ... ] ) ]
[ objectParams ]
Copy
Where:
>
> objectProperties ::=
> WAREHOUSE_TYPE = { STANDARD | '... | |
snowflake_docs/desc-search-optimization_4_0.txt | Parameters ¶
` _ table_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.
| |
snowflake_docs/session-variables_9_0.txt | Viewing Variables for the Session ¶
To see all the variables defined in the current session, use the [ SHOW
>
> SET (MIN, MAX)=(40, 70);
>
> +----------------------------------+
> | status |
> |----------------------------------|
> | Statement executed successfully. |
... | |
snowflake_docs/st_srid_6_0.txt | Examples ¶
| |
snowflake_docs/desc-service_3_0.txt | Parameters ¶
` _ name _ `
Specifies the identifier for the service to describe.
If the identifier contains spaces or special characters, the entire string
must be enclosed in double quotes. Identifiers enclosed in double quotes are
also case-sensitive.
.
| |
snowflake_docs/functions-metadata_1_0.txt | Metadata Functions ¶
Snowflake provides functions that return metadata information, such as
descriptions of the statements used to create database objects (e.g. tables).
Function Name
|
Notes
---|---
|
Generate a list of columns from a set of staged files that contain [ semi-
|
Get DDL to [re-]create a database ... | |
snowflake_docs/show-columns_2_0.txt | Syntax ¶
SHOW COLUMNS [ LIKE '<pattern>' ]
[ IN { ACCOUNT | DATABASE [ <database_name> ] | SCHEMA [ <schema_name> ] | TABLE | [ TABLE ] <table_name> | VIEW | [ VIEW ] <view_name> } ]
Copy
| |
snowflake_docs/st_hausdorffdistance_1_0.txt | ST_HAUSDORFFDISTANCE ¶
Returns the discrete [ Hausdorff distance
The Hausdorff distance indicates how similar the two objects are. Two objects
are considered to be similar if each point in one object is close to a point
in the other object. The Hausdorff distance is the greatest distance between a
point in one objec... | |
snowflake_docs/alter-warehouse_9_0.txt | label-grant-manage-warehouses-privilege) .
For instructions on creating a custom role with a specified set of privileges,
configure.html | |
snowflake_docs/create-sequence_4_0.txt | Optional Parameters ¶
` START [ WITH ] [ = ] _ initial_value _ `
Specifies the first value returned by the sequence. Supported values are any
value that can be represented by a 64-bit two’s complement integer (from `
-2^63 ` to ` 2^63 - 1 ` ).
Default: ` 1 `
` INCREMENT [ BY ] [ = ] _ sequence_in... | |
snowflake_docs/build_stage_file_url_6_0.txt | Examples ¶
Retrieve a file URL for a bitmap format image file in an external stage:
SELECT BUILD_STAGE_FILE_URL(@images_stage,'/us/yosemite/half_dome.jpg');
Copy
https://my_account.snowflakecomputing.com/api/files/MY_DB/PUBLIC/IMAGES_STAGE/us/yosemite/half_dome.jpg
Copy
Was this page helpful?
Yes No
Inc. A... | |
snowflake_docs/parameters_106_0.txt | UNSUPPORTED_DDL_ACTION ¶
Type :
Session — Can be set for Account » User » Session
Data Type :
String (Constant)
Description :
Determines if an unsupported (i.e. non-default) value specified for a
constraint property returns an error.
Values :
` IGNORE ` : Snowflake does not return an error for unsupported value... | |
snowflake_docs/metering_history_1_0.txt | METERING_HISTORY View ¶
The METERING_HISTORY view in the ACCOUNT_USAGE schema can be used to return
the hourly credit usage for an account within the last 365 days (1 year).
| |
snowflake_docs/drop-password-policy_5_0.txt | Access control requirements ¶
access-control-overview-roles) used to execute this SQL command must have the
overview.html | |
snowflake_docs/show-connections_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/concat_ws_2_0.txt | Syntax ¶
CONCAT_WS( <separator> , <expression1> [ , <expressionN> ... ] )
Copy
| |
snowflake_docs/object_construct_keep_null_1_0.txt | OBJECT_CONSTRUCT_KEEP_NULL ¶
arguments.
See also:
| |
snowflake_docs/create-storage-integration_11_0.txt | Examples ¶
The following example creates an integration that explicitly limits external
stages that use the integration to reference either of two buckets and paths:
**Amazon S3**
>
> CREATE STORAGE INTEGRATION s3_int
> TYPE = EXTERNAL_STAGE
> STORAGE_PROVIDER = 'S3'
> STORAGE_AWS_ROLE_ARN = 'a... | |
snowflake_docs/set_email_notifications_2_0.txt | label-create-email-notification-integration) that includes the
email address(es).
See also:
<budget_name>!GET_NOTIFICATION_INTEGRATION_NAME
| |
snowflake_docs/alter-iceberg-table_9_0.txt | Usage notes ¶
* Only the table owner (that is, the role with the OWNERSHIP privilege on the table) or higher can execute this command.
* Clustering is only supported for tables that use Snowflake as the Iceberg catalog. To add clustering to an Iceberg table, you must also have the USAGE or OWNERSHIP privileges ... | |
snowflake_docs/data-types-structured_6_0.txt | Using Structured Types in Semi-Structured Types ¶
You cannot use a MAP, structured OBJECT, or structured ARRAY in a VARIANT,
semi-structured OBJECT, or semi-structured ARRAY. An error occurs in the
following situations:
| |
snowflake_docs/next_day_1_0.txt | NEXT_DAY ¶
Returns the date of the first specified DOW (day of week) that occurs after
the input date.
See also:
| |
snowflake_docs/system_query_reference_1_0.txt | SYSTEM$QUERY_REFERENCE ¶
Available to all accounts.
procedures-calling-references) that you can pass to a stored procedure. Within
the stored procedure, when you execute the query, the query is performed using
the role of the user who created the query reference.
See also:
| |
snowflake_docs/decompress_string_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-application-package_1_0.txt | ALTER APPLICATION PACKAGE ¶
Available
This feature is not supported on Google Cloud Platform.
Modifies the properties of an existing application package in the Native Apps
Framework.
See also:
| |
snowflake_docs/create-file-format_10_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/hll_export_3_0.txt | Examples ¶
SELECT HLL(o_orderdate), HLL_ESTIMATE(HLL_IMPORT(HLL_EXPORT(HLL_ACCUMULATE(o_orderdate))))
FROM orders;
------------------+-------------------------------------------------------------------+
HLL(O_ORDERDATE) | HLL_ESTIMATE(HLL_IMPORT(HLL_EXPORT(HLL_ACCUMULATE(O_ORDERDATE)))) |
------... | |
snowflake_docs/st_startpoint_2_0.txt | Syntax ¶
ST_STARTPOINT( <geography_or_geometry_expression> )
Copy
| |
snowflake_docs/acos_5_0.txt | Examples ¶
SELECT ACOS(0), ACOS(0.5), ACOS(1);
+-------------+-------------+---------+
| ACOS(0) | ACOS(0.5) | ACOS(1) |
|-------------+-------------+---------|
| 1.570796327 | 1.047197551 | 0 |
+-------------+-------------+---------+
Copy
Was this page helpful?
Yes No
Inc. All ... | |
snowflake_docs/st_ymin_5_0.txt | Usage Notes ¶
* The function takes into account the curvature of the edges toward the poles.
| |
snowflake_docs/enabled_roles_1_0.txt | ENABLED_ROLES view ¶
This Information Schema view displays a row for each currently-enabled role in
the session. A role is enabled if it is currently in use in the session or it
has been granted to the role that is currently in use.
For more information about roles, see [ Overview of Access Control
See also:
| |
snowflake_docs/system_allowlist_6_0.txt | Examples ¶
To call the function:
>
> SELECT SYSTEM$ALLOWLIST();
>
>
> Copy
>
> Sample output:
>
>
> [
> {"type":"SNOWFLAKE_DEPLOYMENT",
> "host":"xy12345.snowflakecomputing.com", "port":443},
> {"type":"STAGE", "host":"sfc-customer-stage.s3.us-
> west-2.amazon... | |
snowflake_docs/st_dimension_4_0.txt | Returns ¶
A value of type INTEGER.
| |
snowflake_docs/booland_3_0.txt | Examples ¶
SELECT BOOLAND(1, -2), BOOLAND(0, 2.35), BOOLAND(0, 0), BOOLAND(0, NULL), BOOLAND(NULL, 3), BOOLAND(NULL, NULL);
+----------------+------------------+---------------+------------------+------------------+---------------------+
| BOOLAND(1, -2) | BOOLAND(0, 2.35) | BOOLAND(0, 0) | BOOLAND(0, NU... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.