id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
snowflake_docs/undrop-account_1_0.txt | UNDROP ACCOUNT ¶
accounts-delete) that has not yet been permanently deleted (a dropped account
that is within its grace period).
To obtain a list of dropped accounts that can be restored, refer to [ Viewing
delete.html | |
snowflake_docs/desc-result_5_0.txt | Examples ¶
Describe the columns in the result of the specified query from any of your
sessions (within the previous 24 hours):
>
> DESC RESULT 'f2f07bdb-6a08-4689-9ad8-a1ba968a44b6';
>
>
> Copy
Describe the columns in the results from your most recent query in the current
session:
>
> SELECT * FROM boston_... | |
snowflake_docs/st_aswkb_3_0.txt | Syntax ¶
Use one of the following:
ST_ASWKB( <geography_or_geometry_expression> )
ST_ASBINARY( <geography_or_geometry_expression> )
Copy
| |
snowflake_docs/object_keys_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/show-integrations_6_0.txt | label-security-custom-role) .
For general information about roles and privilege grants for performing SQL
overview.html | |
snowflake_docs/listing-auto-fulfillment-refresh-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).
* 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 be empty.
* The view contains data for all data... | |
snowflake_docs/element_types_0_0.txt | /
| |
snowflake_docs/approx_percentile_accumulate_3_0.txt | Arguments ¶
` _ expr _ `
A valid expression, such as a column name, that evaluates to a numeric value.
| |
snowflake_docs/dayname_0_0.txt | /
1. Construction
5. Extraction
29. Addition & Subtraction
38. Truncation
42. Conversion
57. Time Zone
59. Alerts
date-time) DAYNAME
Categories:
| |
snowflake_docs/functions_2_0.txt | Columns ¶
Column Name
|
Data Type
|
Description
---|---|---
FUNCTION_ID
|
NUMBER
|
Internal/system-generated identifier for the UDF.
FUNCTION_NAME
|
TEXT
|
Name of the UDF.
FUNCTION_SCHEMA_ID
|
NUMBER
|
Internal/system-generated identifier for the schema of the UDF.
FUNCTION_SCHEMA
|
TEXT
|
Schema which th... | |
snowflake_docs/system_create_billing_event_6_0.txt | Examples ¶
custom-event-billing.html | |
snowflake_docs/encrypt_6_0.txt | Examples ¶
This example encrypts a VARCHAR with a simple passphrase.
>
> SELECT encrypt('Secret!', 'SamplePassphrase');
>
>
> Copy
>
> The output is text that is not easy for humans to read.
The code below shows a simple example of encryption and decryption:
>
> SET passphrase='poiuqewjlkfsd';
>
>
> Copy... | |
snowflake_docs/continue_4_0.txt | Usage Notes ¶
* ` CONTINUE ` and ` ITERATE ` are synonymous.
* If the loop is embedded in another loop(s), you can break out of not only the current loop and start from the first statement in the enclosing loop by including the enclosing loop’s label as part of the ` CONTINUE ` . For an example, see the exam... | |
snowflake_docs/grant-database-role_3_0.txt | Parameters ¶
` _ name _ `
Specifies the identifier (i.e. name) for the database role; must be unique in
the database in which the role is created.
The identifier must start with an alphabetic character and cannot contain
spaces or special characters unless the entire identifier string is enclosed
in double quotes (... | |
snowflake_docs/desc-row-access-policy_3_0.txt | Parameters ¶
` _ name _ `
Identifier for the row access policy; must be unique for your account.
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 enclos... | |
snowflake_docs/atanh_3_0.txt | Arguments ¶
` _ real_expr _ `
This expression should evaluate to a real number between -1.0 and +1.0
(inclusive).
| |
snowflake_docs/alter-file-format_6_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/soundex_p123_2_0.txt | Syntax ¶
SOUNDEX_P123( <varchar_expr> )
Copy
| |
snowflake_docs/desc-session-policy_9_0.txt | Usage notes ¶
| |
snowflake_docs/functions-all_11_0.txt | label-data-types-geography) object).
|
|
types-geospatial.html | |
snowflake_docs/create-failover-group_20_0.txt | Usage Notes ¶
* Identifiers for failover groups and replication groups in an account must be unique.
* Objects other than databases and shares must be in the same failover group.
* A database can only be added to one failover group.
* Regarding metadata:
Attention
Customers should ensure that no personal... | |
snowflake_docs/desc-secret_2_0.txt | Syntax ¶
{ DESC | DESCRIBE } SECRET <name>
Copy
| |
snowflake_docs/create-aggregation-policy_3_0.txt | Syntax ¶
CREATE [ OR REPLACE ] AGGREGATION POLICY [ IF NOT EXISTS ] <name>
AS () RETURNS AGGREGATION_CONSTRAINT -> <body>
[ COMMENT = '<string_literal>' ]
Copy
| |
snowflake_docs/pi_0_0.txt | /
1. Arithmetic
4. Rounding and Truncation
13. Exponent and Root
21. Logarithmic
24. Trigonometric
42. Other
numeric) PI
Categories:
| |
snowflake_docs/get_presigned_url_4_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" `
).
` relative_file_path `
Path and filename of the file relativ... | |
snowflake_docs/create-aggregation-policy_1_0.txt | CREATE AGGREGATION POLICY ¶
This feature requires Enterprise Edition (or higher). To inquire about
upgrading, please contact [ Snowflake Support
Snowflake-Lodge) .
Available to all accounts that are Enterprise Edition (or higher).
To inquire about upgrading, please contact [ Snowflake Support
Snowflake-Lodge) .
in t... | |
snowflake_docs/create-role_3_0.txt | Required parameters ¶
` _ name _ `
Identifier for the role; must be unique for your account.
The identifier 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 doub... | |
snowflake_docs/create-stage_20_0.txt | Access control requirements ¶
access-control-overview-roles) used to execute this SQL command must have the
overview.html | |
snowflake_docs/decode_3_0.txt | Arguments ¶
` _ expr _ `
This is the “select expression”. The “search expressions” are compared to this
select expression, and if there is a match then ` DECODE ` returns the result
that corresponds to that search expression. The select expression is typically
a column, but can be a subquery, literal, or other exp... | |
snowflake_docs/show-tags_1_0.txt | SHOW TAGS ¶
This feature requires Enterprise Edition or higher. To inquire about
upgrading, please contact [ Snowflake Support
Snowflake-Lodge) .
Lists the tag information.
See also:
ddl)
| |
snowflake_docs/system_clustering_information_8_0.txt | Limitations ¶
If a table has more than 2 million partitions:
* The results of the function are based on a subset of the table’s partitions.
* The value of the output’s ` total_partition_count ` field is 2 million.
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Argum... | |
snowflake_docs/object_construct_6_0.txt | Examples ¶
This shows how to construct a simple object:
>
> SELECT OBJECT_CONSTRUCT('a',1,'b','BBBB', 'c',null);
> +----------------------------------------------+
> | OBJECT_CONSTRUCT('A',1,'B','BBBB', 'C',NULL) |
> |----------------------------------------------|
> | { ... | |
snowflake_docs/tanh_0_0.txt | /
1. Arithmetic
4. Rounding and Truncation
13. Exponent and Root
21. Logarithmic
24. Trigonometric
42. Other
numeric) TANH
Categories:
| |
snowflake_docs/show-replication-databases_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/st_symdifference_4_0.txt | Returns ¶
The function returns a value of type GEOGRAPHY.
If ` _ geography_expression_1 _ ` and ` _ geography_expression_2 _ ` are
equal (i.e. the symmetric difference is an empty set of points), the function
returns NULL.
| |
snowflake_docs/datediff_6_0.txt | Examples ¶
Calculate the difference in years between two timestamps:
>
> SELECT DATEDIFF(year, '2010-04-09 14:39:20'::TIMESTAMP,
> '2013-05-08 23:39:20'::TIMESTAMP)
> AS diff_years;
> +------------+
> | DIFF_YEARS |
> |------------|
> | 3 |
> ... | |
snowflake_docs/ascii_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/system_show_active_behavior_change_bundles_3_0.txt | Arguments ¶
None.
| |
snowflake_docs/grant-privilege-share_4_0.txt | Usage notes ¶
* The USAGE privilege on only a single database can be granted to a share; however, within that database, privileges on multiple schemas, UDFs, tables, and views can be granted to the share.
* Privileges on individual objects must be granted to a share in separate GRANT statements. The only except... | |
snowflake_docs/drop-row-access-policy_2_0.txt | Syntax ¶
DROP ROW ACCESS POLICY [ IF EXISTS ] <name>
Copy
| |
snowflake_docs/conditional_change_event_5_4.txt | | thirty |
| 200 | 7 | 7 | 40 | fourty |
| 200 | 8 | [NULL] | [NULL] | n_u_l_l |
| 200 | 9 | [NULL] | [NULL] | n_u_l_l |
| 200 | 10 | 10 | 20 | twenty |
| 200 | 11 | [NULL] | 90 | ninety |
| 300 | 12 | 12 | 30 | thirty |
| 400 | 13 | [NULL] | 20 | tw... | |
snowflake_docs/alter-session-policy_9_0.txt | Usage notes ¶
* Before executing an ALTER statement, you can execute a DESCRIBE SESSION POLICY statement to determine the attribute values of the policy.
* Regarding metadata:
Attention
Customers should ensure that no personal data (other than for a User object),
sensitive data, export-controlled data, or othe... | |
snowflake_docs/having_0_0.txt | /
Categories:
| |
snowflake_docs/desc-catalog-integration_6_0.txt | label-access-control-overview-privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
USAGE
|
Integration (catalog)
|
For instructions on creating a custom role with a specified set of privileges,
configure.html | |
snowflake_docs/create-security-integration-api-auth_9_0.txt | label-access-control-overview-privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
CREATE INTEGRATION
|
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 pri... | |
snowflake_docs/revoke-privilege-application-role_0_0.txt | /
1. User Management
7. Database Role Management
16. Account-level Role Management
25. Privilege Management
REVOKE <privilege> ... FROM APPLICATION ROLE
| |
snowflake_docs/h3_grid_disk_3_0.txt | Syntax ¶
H3_GRID_DISK( <cell_id> , <k_value> )
Copy
| |
snowflake_docs/get_relative_path_6_0.txt | Examples ¶
Retrieve the relative path of a bitmap format image file in an external stage,
where the ` @images_stage ` stage references the `
s3://photos/national_parks/ ` bucket and path:
SELECT GET_RELATIVE_PATH(@images_stage, 's3://photos/national_parks/us/yosemite/half_dome.jpg');
+=====================... | |
snowflake_docs/functions-hash-scalar_1_0.txt | Hash Functions ¶
Snowflake provides hash functions, which take input value(s) and return a
signed 64-bit numeric value. Hash functions are deterministic. Snowflake
provides both a scalar hash function and an aggregate hash function, both of
which are listed here.
Note
The hash functions are not cryptographic hash ... | |
snowflake_docs/create-external-table_14_0.txt | TYPE = ORC ¶
` TRIM_SPACE = TRUE | FALSE `
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 leading space rather than the
opening quotation character... | |
snowflake_docs/parameters_64_0.txt | MIN_DATA_RETENTION_TIME_IN_DAYS ¶
Type :
Account — Can be set only for Account
Data Type :
Integer
Description :
Minimum number of days for which Snowflake retains historical data for
performing Time Travel actions (SELECT, CLONE, UNDROP) on an object. If a
minimum number of days for data retention is set on an a... | |
snowflake_docs/commands-data-governance_4_0.txt | Tag ¶
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Column-level Security
2. Row access policy
3. Tag
Language : **English** | |
snowflake_docs/add_months_4_0.txt | Returns ¶
The data type of the returned value is the same as the data type of the first
parameter. For example, if the input is a ` DATE ` , then the output is a `
DATE ` . If the input is a ` TIMESTAMP_NTZ ` , then the output is a `
TIMESTAMP_NTZ ` .
| |
snowflake_docs/drop-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
DROP ICEBERG TABLE
| |
snowflake_docs/create-masking-policy_4_0.txt | Required parameters ¶
` _ name _ `
Identifier for the masking policy; must be unique for your schema.
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 e... | |
snowflake_docs/create-external-volume_10_0.txt | Usage notes ¶
Important
**External volumes in Amazon S3 storage only:** If you recreate an external
volume (using the CREATE OR REPLACE EXTERNAL VOLUME syntax), you must repeat
the steps to grant the AWS identity and access management (IAM) user for your
Snowflake account the access permissions required on the S3 st... | |
snowflake_docs/alter-secret_2_0.txt | Syntax ¶
**OAuth with client credentials flow:**
>
> ALTER SECRET [ IF EXISTS ] <name> SET [ OAUTH_SCOPES = ( '<scope_1>' [ ,
> '<scope_2>' ... ] ) ]
> [ COMMENT = '<string_literal>' ]
>
> ALTER SECRET [ IF EXISTS ] <name> UNSET COMMENT
>
>
> Copy
**OAuth with au... | |
snowflake_docs/nvl_3_0.txt | Arguments ¶
` _ expr1 _ `
A general expression.
` _ expr2 _ `
A general expression.
| |
snowflake_docs/show-objects_2_0.txt | Syntax ¶
SHOW [ TERSE ] OBJECTS [ LIKE '<pattern>' ]
[ IN
{
ACCOUNT |
DATABASE |
DATABASE <database_name> |
... | |
snowflake_docs/create-security-integration-oauth-snowflake_4_0.txt | oauth) .
| |
snowflake_docs/system_query_reference_0_0.txt | /
1. Control
29. Information
90. Query Information
SYSTEM$QUERY_REFERENCE
Categories:
| |
snowflake_docs/desc-search-optimization_1_0.txt | DESCRIBE SEARCH OPTIMIZATION ¶
optimization/enabling.html | |
snowflake_docs/alter-application-role_3_0.txt | Parameters ¶
` _ name _ `
Specifies the identifier for the application role. 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.
` RENAME TO _ new_name _ `
Specifies the new identifier for the... | |
snowflake_docs/st_collect_6_0.txt | Examples ¶
The queries below show both scalar and aggregate uses of the ST_COLLECT
function.
> Create and load the table:
>
>
> CREATE TABLE geo3 (g1 GEOGRAPHY, g2 GEOGRAPHY);
> INSERT INTO geo3 (g1, g2) VALUES
> ( 'POINT(-180 -90)', 'POINT(-45 -45)' ),
> ( 'POINT( 0 0)', 'POINT(-60 -... | |
snowflake_docs/classes_2_0.txt | Columns ¶
Column Name
|
Data Type
|
Description
---|---|---
ID
|
NUMBER
|
Internal/system-generated identifier for the class.
NAME
|
VARCHAR
|
Name of the class.
SCHEMA_ID
|
NUMBER
|
Internal/system-generated identifier for the schema of the class.
SCHEMA_NAME
|
VARCHAR
|
Name of the schema the class belon... | |
snowflake_docs/h3_grid_path_4_0.txt | Arguments ¶
` _ cell_id_1 _ `
An INTEGER that represents the H3 cell ID ( [ index
represents the cell ID in hexadecimal format.
` _ cell_id_2 _ `
An INTEGER that represents the H3 cell ID ( [ index
represents the cell ID in hexadecimal format.
| |
snowflake_docs/create-model_7_0.txt | label-access-control-securable-objects) , see [ Overview of
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Parameters
3. Access Control Requirements
Language : **English** | |
snowflake_docs/h3_point_to_cell_string_4_0.txt | Arguments ¶
` _ geography_point _ `
A GEOGRAPHY object that represents a Point.
` _ target_resolution _ `
An INTEGER between 0 and 15 (inclusive) specifying the H3 [ resolution
returned H3 cell.
Specifying any other INTEGER value results in an error.
| |
snowflake_docs/execute-alert_3_0.txt | Parameters ¶
` _ name _ `
Identifier for the alert to execute.
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/data-types-semistructured_0_0.txt | /
data-types) Semi-Structured
| |
snowflake_docs/class_instance_functions_3_0.txt | Usage Notes ¶
* The view only displays objects for which the current role for the session has been granted an instance role with access privileges.
* The LAST_ALTERED column is updated when the following operations are performed on an object:
* DDL operations.
* DML operations (for tables only).
... | |
snowflake_docs/like_any_8_0.txt | label-manage-bcr-enable-bundle) .
To enable this bundle in your account, execute the following statement:
SELECT SYSTEM$ENABLE_BEHAVIOR_CHANGE_BUNDLE('2024_02');
Copy
| |
snowflake_docs/create-notification-integration_12_0.txt | label-security-custom-role) .
For general information about roles and privilege grants for performing SQL
overview.html | |
snowflake_docs/least_0_0.txt | /
reference/expressions-conditional) LEAST
Categories:
| |
snowflake_docs/st_makeline_6_0.txt | Examples ¶
| |
snowflake_docs/bitmap_count_2_0.txt | Syntax ¶
BITMAP_COUNT( <bitmap> )
Copy
| |
snowflake_docs/regr_count_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/copy-into-table_9_1.txt | N_NAME copy option.
Note that Snowflake converts all instances of the value to NULL, regardless of
the data type. For example, if ` 2 ` is specified as a value, all instances
of ` 2 ` as either a string or number are converted.
For example:
` NULL_IF = ('\N', 'NULL', 'NUL', '') `
Note that this option can inclu... | |
snowflake_docs/alter-application_4_0.txt | Usage Notes ¶
* If you do not specify values for optional parameters, values for these parameters are taken from the ` manifest.yml ` file. If you specify values in both the manifest and when running the command, values specified in the command take precedence.
* Regarding metadata:
Attention
Customers should... | |
snowflake_docs/show-materialized-views_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
SHOW MATERIALIZED VIEWS
| |
snowflake_docs/show-projection-policies_6_0.txt | label-access-control-overview-privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
APPLY PROJECTION POLICY
|
Account
|
APPLY
|
Projection policy
|
OWNERSHIP
|
Projection policy
|
OWNERSHIP is a special privilege on an object that is automatically granted to
the role that created the object, but can ... | |
snowflake_docs/hash_agg_3_0.txt | Usage Notes ¶
* The form HASH_AGG(*) calculates over all columns. This works for both the aggregate function and the window function.
* HASH_AGG computes a “fingerprint” over an entire table or query result or window. Any change to the input will influence the result of HASH_AGG with overwhelming probability. T... | |
snowflake_docs/iff_2_0.txt | Syntax ¶
IFF( <condition> , <expr1> , <expr2> )
Copy
| |
snowflake_docs/create-user_10_0.txt | label-access-control-overview-privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
CREATE USER
|
Account
|
Only the USERADMIN role, or a higher 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 s... | |
snowflake_docs/get_ignore_case_5_0.txt | label-data-type-object) that contains key-value pairs.
` _ field_name _ `
An expression that evaluates to a VARCHAR. This specifies the key in a key-
value pair for which you want to retrieve the value.
` _ field_name _ ` must not be an empty string.
must specify a constant for ` _ field_name _ ` .
If ` _ object _ ... | |
snowflake_docs/regr_count_3_0.txt | Arguments ¶
` _ y _ `
The dependent variable. This must be an expression that can be evaluated to a
numeric type.
` _ x _ `
The independent variable. This must be an expression that can be evaluated to
a numeric type.
` _ expr3 _ `
This is the optional expression used to group rows into partitions.
Important
Note... | |
snowflake_docs/seq1_1_0.txt | SEQ1 / SEQ2 / SEQ4 / SEQ8 ¶
Returns a sequence of monotonically increasing integers, with wrap-around.
Wrap-around occurs after the largest representable integer of the integer
width (1, 2, 4, or 8 byte).
Important
This function uses sequences to produce a unique set of increasing integers,
but does not necessarily ... | |
snowflake_docs/create-dynamic-table_6_1.txt | ` on the parent database), access is also granted to the replacement dynamic table.
* The operation to copy grants occurs atomically in the CREATE DYNAMIC TABLE command (i.e. within the same transaction).
` ROW ACCESS POLICY _ policy_name _ ON ( _ col_name _ [ , _ col_name
_ ... ] ) `
set on a dynamic t... | |
snowflake_docs/create-security-integration-api-auth_2_0.txt | Syntax ¶
| |
snowflake_docs/last_day_3_0.txt | Usage Notes ¶
* ` _ date_or_time_expr _ ` ( **Required** ) must be a date or timestamp expression.
The default is ` month ` .
* The return value is always a date, even if ` _ date_or_time_expr _ ` is a timestamp.
| |
snowflake_docs/create-failover-group_9_0.txt | __________ minute (0-59)
| |
snowflake_docs/roles_0_0.txt | /
Schema:
| |
snowflake_docs/typeof_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/h3_point_to_cell_string_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) H3_POINT_TO_CELL_STRING
Categories:
| |
snowflake_docs/create-database_2_0.txt | Syntax ¶
**Standard Database**
CREATE [ OR REPLACE ] [ TRANSIENT ] DATABASE [ IF NOT EXISTS ] <name>
[ CLONE <source_db>
[ { AT | BEFORE } ( { TIMESTAMP => <timestamp> | OFFSET => <time_difference> | STATEMENT => <id> } ) ] ]
[ DATA_RETENTION_TIME_IN_DAYS = <integer> ]
[ MAX... | |
snowflake_docs/count_1_0.txt | COUNT ¶
Returns either the number of non-NULL records for the specified columns, or
the total number of records.
See also:
| |
snowflake_docs/alter-failover-group_0_0.txt | /
4. Replication
11. Failover/Failback
18. Client Redirect
ALTER FAILOVER GROUP
| |
snowflake_docs/st_srid_2_0.txt | Syntax ¶
ST_SRID( <geography_or_geometry_expression> )
Copy
| |
snowflake_docs/desc-schema_5_0.txt | Examples ¶
This demonstrates the DESCRIBE SCHEMA command:
CREATE SCHEMA sample_schema_2;
USE SCHEMA sample_schema_2;
CREATE TABLE sample_table_1 (i INTEGER);
CREATE VIEW sample_view_1 AS
SELECT i FROM sample_table_1;
CREATE MATERIALIZED VIEW sample_mview_1 AS
SELECT i FROM sample_... | |
snowflake_docs/operators-subquery_11_0.txt | Syntax ¶
<expr> [ NOT ] IN ( <query> )
Copy
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.