id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
snowflake_docs/copy_history_0_0.txt | /
1. Data Loading
4. Data Generation
6. Data Conversion
9. ML-Powered Analysis
11. Object Modeling
13. Semi-Structured Queries
15. Query Results
17. Query Profile
19. User Login
22. Queries
26. Wareho... | |
snowflake_docs/show-privileges_4_0.txt | Output ¶
Specifies the privileges granted to an application.
Column
|
Description
---|---
privilege
|
The name of the privilege as specified in the manifest file.
description
|
A description of the privilege, which is specified in the manifest file. For
access-control-privileges) .
is_granted
|
Specifies if ... | |
snowflake_docs/parameters_28_0.txt | CLIENT_SESSION_KEEP_ALIVE_HEARTBEAT_FREQUENCY ¶
Type :
Session — Can be set for Account » User » Session
Data Type :
Integer
Clients :
SnowSQL, JDBC, Python, Node.js
Description :
Number of seconds in-between client attempts to update the token for the
session.
Values :
` 900 ` to ` 3600 `
Default :
` 3600 ... | |
snowflake_docs/last_successful_scheduled_time_6_0.txt | Usage Notes ¶
* This function is defined in the ALERT schema of the SNOWFLAKE database.
To call this function, you must use a role that is granted the [ SNOWFLAKE
function as a user with the role alert_role, execute:
GRANT DATABASE ROLE snowflake.alert_viewer TO ROLE alert_role;
Copy
| |
snowflake_docs/database_refresh_history_4_0.txt | Usage Notes ¶
* Only returns results for account administrators (users with the ACCOUNTADMIN role).
* Following is the list of phases in the order processed:
1. SECONDARY_UPLOADING_INVENTORY
2. PRIMARY_UPLOADING_METADATA
3. PRIMARY_UPLOADING_DATA
4. SECONDARY_DOWNLOADING_METADATA
5. SEC... | |
snowflake_docs/desc-network-rule_1_0.txt | DESCRIBE NETWORK RULE ¶
Describes the properties specified for a network rule.
DESCRIBE can be abbreviated to DESC.
See also:
| |
snowflake_docs/st_makegeompoint_3_0.txt | Arguments ¶
` _ longitude _ `
A REAL that represents the longitude.
` _ latitude _ `
A REAL that represents the latitude.
| |
snowflake_docs/desc-view_3_0.txt | Parameters ¶
` _ name _ `
Specifies the identifier for the view 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/external_table_registration_history_5_0.txt | Output ¶
The function returns the following columns:
Column Name
|
Data Type
|
Description
---|---|---
JOB_CREATED_TIME
|
TIMESTAMP_LTZ
|
Timestamp when the operation occurred
FILE_NAME
|
TEXT
|
Name of the staged source file and relative path to the file
OPERATION_STATUS
|
TEXT
|
Status: REGISTERED_NEW, REG... | |
snowflake_docs/like_4_0.txt | Returns ¶
Returns a BOOLEAN or NULL.
* When LIKE is specified, the value is TRUE if there is a match. Otherwise, returns FALSE.
* When NOT LIKE is specified, the value is TRUE if there is no match. Otherwise, returns FALSE.
* When either LIKE or NOT LIKE is specified, returns NULL if any argument is NULL.
| |
snowflake_docs/usage_in_currency_daily_legacy_4_0.txt | label-virtual-warehouse-credit-usage)
> . Does not indicate usage of serverless or cloud services compute.
>
> * ` data transfer ` — Refer to [ Understanding data transfer cost
>
> * ` materialized views ` — Refer to [ Working with Materialized Views
>
> * ` priority support ` — Indicates how much was charg... | |
snowflake_docs/bind-variables_7_0.txt | label-sql-api-bind-variables) .
| |
snowflake_docs/system_revoke_privatelink_3_0.txt | Arguments ¶
` ' _ aws_id _ ' `
The 12-digit identifier that uniquely identifies your Amazon Web Services
(AWS) account, as a string.
` ' _ private-endpoint-resource-id _ ' `
The identifier that uniquely identifies the private endpoint in Microsoft
Azure (Azure) as a string.
` ' _ federated_token _ ' `
The f... | |
snowflake_docs/create-event-table_5_0.txt | Usage Notes ¶
* A schema cannot contain event tables, tables, and/or views with the same name. When creating an event table:
* If a table or view with the same name already exists in the schema, an error is returned and the event table is not created.
* If an event table with the same name already exists... | |
snowflake_docs/hex_decode_binary_2_0.txt | Syntax ¶
HEX_DECODE_BINARY(<input>)
Copy
| |
snowflake_docs/h3_coverage_6_0.txt | Usage Notes ¶
* A cell is included in the result set if its boundary intersects the input shape.
| |
snowflake_docs/h3_coverage_strings_2_0.txt | Syntax ¶
H3_COVERAGE_STRINGS( <geography_expression> , <target_resolution> )
Copy
| |
snowflake_docs/functions-file_3_0.txt | Usage Notes ¶
* GET_PRESIGNED_URL and BUILD_SCOPED_FILE_URL are non-deterministic functions; the others are deterministic.
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. List of Functions
2. Usage Notes
Language : **English** | |
snowflake_docs/object_delete_1_0.txt | OBJECT_DELETE ¶
Returns an object containing the contents of the input (i.e.source) object
with one or more keys removed.
| |
snowflake_docs/map_size_3_0.txt | Arguments ¶
` _ map _ `
The input map.
| |
snowflake_docs/create-versioned-schema_7_0.txt | label-access-control-overview-privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
CREATE SCHEMA
|
Application
|
If the schema already exists and you want to modify the schema, the OWNERSHIP
privilege on the application is required.
For instructions on creating a custom role with a specified set of pr... | |
snowflake_docs/desc-user_4_0.txt | Usage Notes ¶
* Individual users can see their own properties by executing this command and specifying their own ` _ name _ ` . Only the role with the OWNERSHIP privilege on a user, or a higher role, can execute this command to see the properties of another user.
* The user object property ` PASSWORD_LAST_SET_... | |
snowflake_docs/show-pipes_2_0.txt | Syntax ¶
SHOW PIPES [ LIKE '<pattern>' ]
[ IN
{
ACCOUNT |
DATABASE |
DATABASE <database_name> |
SCHEMA |
SCHEMA <sche... | |
snowflake_docs/collation_18_0.txt | Collation Precedence in Multi-string Operations ¶
When performing an operation on two (or more) strings, different collations
might be specified for different strings. Determining the collation to apply
depends on how collation was specified for each input and the precedence of
each specifier.
There are 3 precedence... | |
snowflake_docs/alter-iceberg-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
ALTER ICEBERG TABLE
| |
snowflake_docs/array_intersection_6_1.txt | objects contain the same values, but in different
> order';
>
>
> Copy
>
>
> SELECT ID, array1, array2, tip, ARRAY_INTERSECTION(array1, array2)
> FROM array_demo
> WHERE ID <= 3
> ORDER BY ID;
>
> +----+--------+--------+------------------------+------------------------------------+
>... | |
snowflake_docs/as_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) (Cast)
| |
snowflake_docs/revoke-privilege_11_0.txt | Roles ¶
Revoke the necessary privileges to operate (i.e. suspend or resume) the `
report_wh ` warehouse from the ` analyst ` role:
>
> REVOKE OPERATE ON WAREHOUSE report_wh FROM ROLE analyst;
>
>
> Copy
Revoke only the grant option for the OPERATE privilege on the ` report_wh `
warehouse from the ` analys... | |
snowflake_docs/alter-model-add-version_2_0.txt | Syntax ¶
ALTER MODEL [ IF EXISTS ] <name> ADD VERSION <version_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/all_user_names_4_0.txt | Returns ¶
The data type of the returned value is ` ARRAY ` .
| |
snowflake_docs/account-usage_13_0.txt | ACCOUNT_USAGE Views by Database Role ¶
The OBJECT_VIEWER, USAGE_VIEWER, GOVERNANCE_VIEWER, and SECURITY_VIEWER roles
have the SELECT privilege to query Account Usage views in the shared SNOWFLAKE
database.
A checkmark (i.e. ✔) indicates the role is granted the SELECT privilege on the
view.
View
|
OBJECT_VIEWER Role
... | |
snowflake_docs/create-security-integration-oauth-snowflake_15_0.txt | Tableau Desktop example ¶
The following example creates an OAuth integration with the default settings:
>
> CREATE SECURITY INTEGRATION td_oauth_int1
> TYPE = oauth
> ENABLED = true
> OAUTH_CLIENT = tableau_desktop;
>
>
> Copy
integration) :
DESC SECURITY INTEGRATION td_oauth_int1;
Copy
T... | |
snowflake_docs/listing-access-history_2_0.txt | Columns ¶
Column Name
|
Data Type
|
Description
---|---|---
QUERY_TOKEN
|
VARCHAR
|
Unique ID for each query run by a consumer. A QUERY_TOKEN does not correlate
with any actual query identifier on the consumer side.
QUERY_DATE
|
DATE
|
Date when the query was executed.
EXCHANGE_NAME
|
VARCHAR
|
Snowflake Mar... | |
snowflake_docs/access_history_6_0.txt | Usage Notes: Column Lineage ¶
These additional notes pertain to column lineage:
Supported operations :
Column lineage tracks details for the following SQL operations:
* Self-update:
UPDATE mydb.s1.t1 SET col_1 = col_1 + 1;
Copy
* Two table update:
UPDATE mydb.s1.t1 FROM myd... | |
snowflake_docs/get_query_operator_stats_10_0.txt | OPERATOR_STATISTICS ¶
The fields in the OBJECTs for the ` OPERATOR_STATISTICS ` column provide
additional information about the operator. The information can include:
Key
|
Nested Key (if applicable)
|
Data Type
|
Description
---|---|---|---
` dml `
| | |
Statistics for Data Manipulation Language (DML) queri... | |
snowflake_docs/desc-dynamic-table_3_0.txt | Parameters ¶
` _ name _ `
Specifies the identifier for the dynamic 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/bitshiftleft_5_0.txt | Usage Notes ¶
* If the data type of any argument is numeric but not ` INTEGER ` (e.g. FLOAT, DECIMAL, etc.), then that argument will be cast to ` INTEGER ` .
* If the data type of any argument is a string (e.g. ` VARCHAR ` ), then the argument will be cast to ` INTEGER ` if possible. For example, the string... | |
snowflake_docs/array_compact_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) (Array/Object)
| |
snowflake_docs/storage_daily_history_1_0.txt | STORAGE_DAILY_HISTORY View ¶
The STORAGE_DAILY_HISTORY view in the ORGANIZATION_USAGE schema can be used to
query the average daily storage usage, in bytes, for all accounts in the
organization for the last 365 days (1 year).
| |
snowflake_docs/create-file-format_4_0.txt | Optional Parameters ¶
` { TEMP | TEMPORARY | VOLATILE } `
Specifies that the file format persists only for the duration of the [ session
format is dropped at the end of the session.
Default: No value. If a file format is not declared as ` TEMPORARY ` , the
file format is permanent.
If you want to avoid unexp... | |
snowflake_docs/grant-database-role_9_0.txt | Examples ¶
GRANT DATABASE ROLE analyst TO ROLE SYSADMIN;
Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Parameters
3. Access control requirements
4. Usage notes
5. Examples
Language : **English** | |
snowflake_docs/system_get_login_failure_details_0_0.txt | /
1. Control
29. Information
90. Query Information
SYSTEM$GET_LOGIN_FAILURE_DETAILS
Categories:
| |
snowflake_docs/list_2_0.txt | label-custom-classification-working)
| |
snowflake_docs/create-notification-integration_9_0.txt | label-email-notification-verify-address) .
The maximum number of email addresses that you can specify is 50.
If you omit this parameter, you can send email notifications to any verified
email address in the current account.
| |
snowflake_docs/get_object_references_0_0.txt | /
1. Data Loading
4. Data Generation
6. Data Conversion
9. ML-Powered Analysis
11. Object Modeling
13. Semi-Structured Queries
15. Query Results
17. Query Profile
19. User Login
22. Queries
26. Wareho... | |
snowflake_docs/st_npoints_3_0.txt | Syntax ¶
ST_NPOINTS( <geography_or_geometry_expression> )
Copy
| |
snowflake_docs/data-types-structured_13_0.txt | Implicit Casting a Value (Coercion) ¶
conversion.html | |
snowflake_docs/sysdate_5_0.txt | label-datatypes-timestamp-variations) .
| |
snowflake_docs/show-iceberg-tables_6_0.txt | label-security-custom-role) .
For general information about roles and privilege grants for performing SQL
overview.html | |
snowflake_docs/enabled_roles_2_0.txt | Columns ¶
Column Name
|
Data Type
|
Description
---|---|---
ROLE_NAME
|
TEXT
|
Name of the role
ROLE_OWNER
|
TEXT
|
Owner of the role
| |
snowflake_docs/show-tags_2_0.txt | Syntax ¶
SHOW TAGS [ LIKE '<pattern>' ]
[ IN
{
ACCOUNT |
DATABASE |
DATABASE <database_name> |
SCHEMA |
SCHEMA <schema_name>... | |
snowflake_docs/time_slice_0_0.txt | /
1. Construction
5. Extraction
29. Addition & Subtraction
38. Truncation
42. Conversion
57. Time Zone
59. Alerts
date-time) TIME_SLICE
Categories:
| |
snowflake_docs/sql-ddl-summary_0_0.txt | /
commands) General DDL
| |
snowflake_docs/try_to_decimal_1_0.txt | TRY_TO_DECIMAL, TRY_TO_NUMBER, TRY_TO_NUMERIC ¶
performs the same operation (i.e. converts an input expression to a fixed-
point number), but with error-handling support (i.e. if the conversion cannot
be performed, it returns a NULL value instead of raising an error).
These functions are synonymous.
For more informa... | |
snowflake_docs/rate_sheet_daily_1_0.txt | RATE_SHEET_DAILY View ¶
The RATE_SHEET_DAILY view in the ORGANIZATION_USAGE schema returns the
effective rates used for calculating usage in the organization currency based
on credits used for all Snowflake accounts in your organization.
Important
This topic describes the upgraded version of the RATE_SHEET_DAILY vie... | |
snowflake_docs/seq1_0_0.txt | /
1. Random
5. Controlled Distribution
reference/functions-data-generation) SEQ1
Categories:
| |
snowflake_docs/create-function_40_0.txt | JavaScript ¶
* Snowflake does not validate JavaScript code at UDF creation time (i.e. creation of the UDF succeeds regardless of whether the code is valid). If the code is not valid, errors will be returned when the UDF is called at query time.
| |
snowflake_docs/monthname_3_0.txt | Examples ¶
SELECT MONTHNAME(TO_DATE('2015-05-01')) AS MONTH;
-------+
MONTH |
-------+
May |
-------+
Copy
SELECT MONTHNAME(TO_TIMESTAMP('2015-04-03 10:00')) AS MONTH;
-------+
MONTH |
-------+
Apr |
-------+
Copy
SELECT d, MONTHNAME(d) FROM dates;
----... | |
snowflake_docs/rate_sheet_daily_2_0.txt | Columns ¶
Column Name
|
Data Type
|
Description
---|---|---
DATE
|
DATE
|
Date (in the UTC time zone) for the effective price.
ORGANIZATION_NAME
|
VARCHAR
|
Name of the organization.
CONTRACT_NUMBER
|
VARCHAR
|
Snowflake contract number for the organization.
ACCOUNT_NAME
|
VARCHAR
|
Name of the account.
... | |
snowflake_docs/create-warehouse_1_0.txt | CREATE WAREHOUSE ¶
the system.
Initial creation of a virtual warehouse might take some time to provision the
compute resources, unless the warehouse is created initially in a ` SUSPENDED
` state.
See also:
warehouses)
| |
snowflake_docs/data-types-text_5_0.txt | STRING , TEXT , NVARCHAR , NVARCHAR2 , CHAR VARYING , NCHAR VARYING ¶
Synonymous with VARCHAR.
| |
snowflake_docs/operators-logical_3_1.txt | |
>> +-------+-------+-------+-------+
>>
>>
>> Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. List of Logical/Boolean Operators
2. Examples
Language : **English** | |
snowflake_docs/h3_latlng_to_cell_4_0.txt | Returns ¶
Returns an INTEGER value corresponding to the H3 cell ID for the given
location and resolution.
| |
snowflake_docs/alter-password-policy_10_0.txt | label-security-custom-role) .
For general information about roles and privilege grants for performing SQL
overview.html | |
snowflake_docs/create-stage_16_0.txt | TYPE = ORC ¶
` TRIM_SPACE = TRUE | FALSE `
Use :
Data loading and external tables
Definition :
Boolean that specifies whether to remove leading and trailing white space from
strings.
For example, if your external database software encloses fields in quotes, but
inserts a leading space, Snowflake reads the lea... | |
snowflake_docs/create-schema_12_0.txt | Examples ¶
Create a permanent schema:
>
> CREATE SCHEMA myschema;
>
> SHOW SCHEMAS;
>
>
> +-------------------------------+--------------------+------------+------------+---------------+--------------+-----------------------------------------------------------+---------+----------------+
> | created_... | |
snowflake_docs/as_double-real_3_0.txt | Arguments ¶
` _ variant _ `
This should be an expression that evaluates to a VARIANT that contains a valid
floating-point value.
| |
snowflake_docs/sql-format-models_14_0.txt | Printing Numbers Using Fixed-Position Formats and the Fill Mode Modifier
¶
In _fill_ mode, the variable-length format elements, such as ` EE ` and ` MI
` , are space-padded on the right.
In _compact_ mode, all spaces resulting from numeric format elements,
including the variable-length elements, are removed, so the ... | |
snowflake_docs/decrypt_raw_3_1.txt | nsitive.
The ` padding ` specifies how to pad messages whose length is not a multiple
of the block size. Padding is applicable only for ECB and CBC modes; padding
is ignored for other modes. The possible values for padding are:
> * ` 'PKCS' ` : Uses PKCS5 for block padding.
>
> * ` 'NONE' ` : No padding. The use... | |
snowflake_docs/parameters_78_0.txt | REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION ¶
Type :
Account — Can be set only for Account
Data Type :
Boolean
Description :
Specifies whether to require a storage integration object as cloud credentials
stage) ) to access a private cloud storage location.
Values :
` TRUE ` : Creating an external stage to ac... | |
snowflake_docs/drop-application-role_3_0.txt | Parameters ¶
` _ name _ `
Specifies the identifier for the application role 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/system_explain_json_to_text_5_0.txt | Usage Notes ¶
* If a string literal is passed as input, the delimiter around the string can be either a single quote ` ' ` or a double dollar sign ` $$ ` . If the string literal contains single quotes (and does not contain double dollar signs), then delimiting the string with double dollar signs avoids the need ... | |
snowflake_docs/drop-alert_6_0.txt | label-security-custom-role) .
For general information about roles and privilege grants for performing SQL
overview.html | |
snowflake_docs/notification_history_5_0.txt | Usage Notes ¶
* Returns results only for the ACCOUNTADMIN role, the integration owner (i.e. the role with the OWNERSHIP privilege on the integration) or a role with the USAGE privilege on the integration.
| |
snowflake_docs/decrypt_2_0.txt | Syntax ¶
DECRYPT( <value_to_decrypt> , <passphrase> ,
[ [ <additional_authenticated_data> , ] <encryption_method> ]
)
Copy
| |
snowflake_docs/alter-file-format_7_0.txt | TYPE = AVRO ¶
` COMPRESSION = AUTO | GZIP | 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-compressed data file was compress... | |
snowflake_docs/copy-into-table_2_0.txt | Syntax ¶
/* Standard data load */
COPY INTO [<namespace>.]<table_name>
FROM { internalStage | externalStage | externalLocation }
[ FILES = ( '<file_name>' [ , '<file_name>' ] [ , ... ] ) ]
[ PATTERN = '<regex_pattern>' ]
[ FILE_FORMAT = ( { FORMAT_NAME = '[<namespace>.]<file_format_name>... | |
snowflake_docs/system_pipe_force_resume_3_0.txt | Arguments ¶
` _ pipe_name _ `
Pipe to resume running.
` STALENESS_CHECK_OVERRIDE `
Specifies to resume a stale pipe. A pipe is considered stale when it is paused
for longer than the limited retention period for event messages received for
the pipe (14 days by default).
Note
This argument only pertains to pipe obje... | |
snowflake_docs/tag_references_with_lineage_5_0.txt | label-classification-system-tags) , use a role with IMPORTED
PRIVILEGES on the shared SNOWFLAKE database.
| |
snowflake_docs/create-clone_14_1.txt | |
| ); |
| |
| CREA... | |
snowflake_docs/sql-format-models_10_0.txt | ` to indicate
overflow.
The exponent element causes fixed-position numbers to be normalized so that
the first digit in the integer part is 1 to 9 (unless the value of the number
is zero, in which case the value of the exponent is also zero). The ` EE `
element automatically picks the right number of digits in the ex... | |
snowflake_docs/least_6_0.txt | Examples ¶
Basic examples:
>
> SELECT LEAST(1, 3, 0, 4);
> +-------------------+
> | LEAST(1, 3, 0, 4) |
> |-------------------|
> | 0 |
> +-------------------+
>
>
> Copy
>
>
> SELECT
> col_1,
> col_2,
> col_3,
> LEAST(col_1, ... | |
snowflake_docs/alter-session_0_0.txt | /
1. Parameters
4. Context
10. Variables
14. Queries
| |
snowflake_docs/bitshiftleft_3_0.txt | Arguments ¶
` _ expr1 _ `
This expression must evaluate to a data type that can be cast to ` INTEGER `
.
` _ n _ `
The number of bits to shift by.
| |
snowflake_docs/seq1_2_0.txt | Syntax ¶
SEQ1( [0|1] )
SEQ2( [0|1] )
SEQ4( [0|1] )
SEQ8( [0|1] )
Copy
| |
snowflake_docs/to_double_3_0.txt | Arguments ¶
* ` _ expr _ ` An expression of a numeric, character, or variant type.
| |
snowflake_docs/show-replication-databases_2_0.txt | Syntax ¶
SHOW REPLICATION DATABASES [ LIKE '<pattern>' ]
[ WITH PRIMARY <account_identifier>.<primary_db_name> ]
Copy
| |
snowflake_docs/drop-aggregation-policy_8_0.txt | label-access-control-securable-objects) , see [ Overview of
For additional details on aggregation policy DDL and privileges, see [
aggregation-policy-manage) .
| |
snowflake_docs/contract_items_3_0.txt | Usage Notes ¶
* Latency for the view may be up to 24 hours.
* This view shows only the active contract for the organization.
* Customers who signed a contract through a Snowflake reseller cannot access data in this view.
* Data is retained indefinitely.
Was this page helpful?
Yes No
Inc. All Rights Res... | |
snowflake_docs/create-connection_8_0.txt | Examples ¶
Create a connection for the account ` myaccount1 ` in the organization `
myorg ` :
CREATE CONNECTION IF NOT EXISTS myconnection;
Copy
Create a secondary connection as a replica of its primary connection. The `
displays the primary connection:
CREATE CONNECTION myconnection AS REPLICA OF myorg.my... | |
snowflake_docs/current_transaction_2_0.txt | Syntax ¶
CURRENT_TRANSACTION()
Copy
| |
snowflake_docs/create-security-integration-oauth-external_10_0.txt | Examples ¶
| |
snowflake_docs/bitmap_or_agg_1_0.txt | BITMAP_OR_AGG ¶
Returns a bitmap containing the results of a binary OR operation on the input
bitmaps.
See also:
[ Using Bitmaps to Compute Distinct Values for Hierarchical Aggregations
| |
snowflake_docs/date_from_parts_5_0.txt | Examples ¶
Components in normal ranges:
>
> SELECT DATE_FROM_PARTS(1977, 8, 7);
> +-----------------------------+
> | DATE_FROM_PARTS(1977, 8, 7) |
> |-----------------------------|
> | 1977-08-07 |
> +-----------------------------+
>
>
> Copy
Components outside normal rang... | |
snowflake_docs/drop-masking-policy_7_0.txt | label-access-control-securable-objects) , see [ Overview of
For additional details on masking policy DDL and privileges, see [ Managing
security-column-manage) .
| |
snowflake_docs/desc-database_2_0.txt | Syntax ¶
DESC[RIBE] DATABASE <database_name>
Copy
| |
snowflake_docs/is_array_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)
| |
snowflake_docs/drop-tag_6_0.txt | label-security-custom-role) .
For general information about roles and privilege grants for performing SQL
overview.html | |
snowflake_docs/width_bucket_0_0.txt | /
1. Arithmetic
4. Rounding and Truncation
13. Exponent and Root
21. Logarithmic
24. Trigonometric
42. Other
numeric) WIDTH_BUCKET
Categories:
| |
snowflake_docs/to_geography_6_0.txt | Examples ¶
This shows a simple use of the TO_GEOGRAPHY function with VARCHAR data:
>
> select TO_GEOGRAPHY('POINT(-122.35 37.55)');
>
>
> Copy
>
>
> +--------------------------------------+
> | TO_GEOGRAPHY('POINT(-122.35 37.55)') |
> |--------------------------------------|
> | POINT(-122.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.