id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
snowflake_docs/st_asgeojson_8_0.txt | GEOMETRY Examples ¶
The following example demonstrates the ST_ASGEOJSON function with a GEOMETRY
object as input:
>
> SELECT ST_ASGEOJSON(TO_GEOMETRY('SRID=4326;LINESTRING(389866 5819003,
> 390000 5830000)')) AS geojson;
>
>
> Copy
>
>
> +------------------------+
> | GEOJSON |
> ... | |
snowflake_docs/regexp_count_1_0.txt | REGEXP_COUNT ¶
Returns the number of times that a pattern occurs in a string.
| |
snowflake_docs/get_measurement_table_0_0.txt | /
1. Commands
4. Methods
| |
snowflake_docs/commands-user-role_5_0.txt | Privilege management ¶
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. User management
2. Database role management
3. Account-level role management
4. Privilege management
Language : **English** | |
snowflake_docs/show-databases_5_0.txt | Examples ¶
Show all databases that you have privileges to view in your account:
>
> SHOW DATABASES;
>
>
> +---------------------------------+-----------+------------+------------+--------+--------+---------+---------+----------------+----------+----------+-----------------+
> | created_on ... | |
snowflake_docs/concat_ws_7_0.txt | Examples ¶
Concatenate three strings with separator:
>
> SELECT CONCAT_WS(',', 'one', 'two', 'three');
> +---------------------------------------+
> | CONCAT_WS(',', 'ONE', 'TWO', 'THREE') |
> |---------------------------------------|
> | one,two,three |
> +-----------... | |
snowflake_docs/system_get_tag_on_current_column_6_0.txt | label-tag-masking-policy-column-tag-string-value)
.
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Arguments
3. Usage notes
4. Examples
Related content
Language : **English** | |
snowflake_docs/insert_6_0.txt | Examples ¶
| |
snowflake_docs/show-image-repositories_4_0.txt | Access control requirements ¶
Any of the following repository privileges grants the permission to see
repositories in the SHOW IMAGE REPOSITORIES output. If you don’t have any of
these privileges, SHOW IMAGE REPOSITORIES will return an empty result.
Privilege
|
Object
|
Notes
---|---|---
READ
|
Image repository
... | |
snowflake_docs/st_asgeojson_1_0.txt | ST_ASGEOJSON ¶
a-note-on-geojson-handling) representation of that value.
| |
snowflake_docs/add_regex_9_0.txt | label-access-control-overview-
privileges) at a minimum:
Instance role
|
Object
|
Notes
---|---|---
` _ custom_classifier _ ` !PRIVACY_USER.
|
The custom classification instance.
|
The account role that calls this method must be granted this instance role on
the custom classifier.
By default, the account role used... | |
snowflake_docs/timestampdiff_6_0.txt | Examples ¶
TIMESTAMPDIFF all use the same basic format.)
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/alter-security-integration-saml2_2_0.txt | Syntax ¶
ALTER [ SECURITY ] INTEGRATION [ IF EXISTS ] <name> SET
[ TYPE = SAML2 ]
[ ENABLED = { TRUE | FALSE } ]
[ SAML2_ISSUER = '<string_literal>' ]
[ SAML2_SSO_URL = '<string_literal>' ]
[ SAML2_PROVIDER = '<string_literal>' ]
[ SAML2_X509_CERT = '<string_litera... | |
snowflake_docs/get_query_operator_stats_13_0.txt | label-udf-java-methods) was
invoked.
|
` Java UDTF endPartition() execution time `
|
DOUBLE
|
amount of time to execute the Java UDTF endPartition method.
|
` Avg Java UDTF endPartition() execution time `
|
DOUBLE
|
average amount of time to execute the Java UDTF endPartition method.
|
` Max Java UDF... | |
snowflake_docs/operators-subquery_4_0.txt | Usage Notes ¶
* The expression is compared with the operator to each value that the subquery returns:
> * If ANY is specified, then the result is TRUE if any row of the
> subquery satisfies the condition, otherwise it returns FALSE.
>
> * If ALL is specified, then the result is TRUE if every row of the
> ... | |
snowflake_docs/localtimestamp_5_0.txt | Usage Notes ¶
* Do not use the returned value for precise time ordering between concurrent queries (processed by the same virtual warehouse) because the queries might be serviced by different compute resources (in the warehouse).
* To comply with ANSI standards, this function can be called without parentheses. ... | |
snowflake_docs/is-distinct-from_1_0.txt | IS [ NOT ] DISTINCT FROM ¶
Compares whether two expressions are equal (or not equal). The function is
NULL-safe, meaning it treats NULLs as known values for comparing equality.
Note that this is different from the EQUAL [ comparison operator
See also:
| |
snowflake_docs/copy-into-location_0_0.txt | /
1. Stage
7. File Format
13. External Volume
20. Pipe
26. Snowpipe Streaming
28. Loading and Unloading
loading) COPY INTO <location>
| |
snowflake_docs/ilike_7_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/revoke-privilege_10_0.txt | Examples ¶
| |
snowflake_docs/put_2_0.txt | Syntax ¶
PUT file://<path_to_file>/<filename> internalStage
[ PARALLEL = <integer> ]
[ AUTO_COMPRESS = TRUE | FALSE ]
[ SOURCE_COMPRESSION = AUTO_DETECT | GZIP | BZ2 | BROTLI | ZSTD | DEFLATE | RAW_DEFLATE | NONE ]
[ OVERWRITE = TRUE | FALSE ]
Copy
Where:
>
> internalStage ::=... | |
snowflake_docs/object_privileges_0_0.txt | /
OBJECT_PRIVILEGES
| |
snowflake_docs/reverse_1_0.txt | REVERSE ¶
Reverses the order of characters in a string, or of bytes in a binary value.
The returned value is the same length as the input, but with the
characters/bytes in reverse order. If ` _ subject _ ` is NULL, the result is
also NULL.
| |
snowflake_docs/show-database-roles_1_0.txt | SHOW DATABASE ROLES ¶
Lists all the database roles in the specified database.
Important
A user with any active role that has been granted any privilege on the active
database (e.g. USAGE) can list the database roles in the database. However,
this does not necessarily mean the role allows users to use the database ro... | |
snowflake_docs/show-locks_4_0.txt | Usage Notes ¶
* Columns that start with the prefix ` is_ ` return either ` Y ` (yes) or ` N ` (no).
* The command does not require a running warehouse to execute.
* The command returns a maximum of 10K records for the specified object type, as dictated by the access privileges for the role used to execu... | |
snowflake_docs/constraints-other_0_0.txt | /
| |
snowflake_docs/get_notification_email_6_0.txt | Examples ¶
View the email address(es) configured to receive notifications for ` my_budget
` in schema ` budget_db.budget_schema ` :
CALL budget_db.budget_schema.my_budget!GET_NOTIFICATION_EMAIL();
Copy
View the email address(es) configured to receive notifications for the account
budget:
CALL snowflake.loca... | |
snowflake_docs/median_5_0.txt | Usage Notes ¶
* If the number of non-NULL values is an odd number greater than or equal to 1, this returns the median (“center”) value of the non-NULL values.
* If the number of non-NULL values is an even number, this returns a value equal to the average of the two center values. For example, if the values are ... | |
snowflake_docs/data-types-logical_4_0.txt | Boolean Conversion ¶
| |
snowflake_docs/drop-replication-group_1_0.txt | DROP REPLICATION GROUP ¶
* Database and share replication are available to all accounts.
intro.html | |
snowflake_docs/desc-database_3_0.txt | Parameters ¶
` _ database_name _ `
| |
snowflake_docs/desc-session-policy_10_0.txt | Example ¶
DESC SESSION POLICY session_policy_prod_1;
Copy
+---------------------------------+-----------------------+------------------------+--------------------------+--------------------------------------------------+
| createdOn | name | sessionIdleTimeoutMins |... | |
snowflake_docs/listing-consumption-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 contains data for all data products, whether your data product is a Snowflake Native App or a share.
| |
snowflake_docs/account-usage_10_0.txt | Enabling the SNOWFLAKE Database Usage for Other Roles ¶
By default, the SNOWFLAKE database is visible to all users, however access to
schemas in this database can be granted by a user with the ACCOUNTADMIN role
using either of the following approaches:
* Grant IMPORTED PRIVILEGES on the SNOWFLAKE database.
* Gr... | |
snowflake_docs/boolnot_0_0.txt | /
reference/expressions-conditional) BOOLNOT
Categories:
| |
snowflake_docs/boolor_agg_5_0.txt | Usage Notes ¶
* Numeric values, Decimal, and floating point values are converted to ‘true’ if they are different from zero.
* Character/text types are not supported as they cannot be converted to Boolean.
* When used as a window function:
> * This function does not support:
>
>> * ORDER BY sub-cla... | |
snowflake_docs/h3_cell_to_boundary_6_0.txt | Examples ¶
The following example returns the GEOGRAPHY object that represents the
boundary of the H3 cell containing the Brandenburg Gate. The example specifies
the H3 cell ID as an INTEGER value.
SELECT H3_CELL_TO_BOUNDARY(613036919424548863);
Copy
+-----------------------------------------+
| H3_CELL_T... | |
snowflake_docs/automatic_clustering_history_1_0.txt | AUTOMATIC_CLUSTERING_HISTORY View ¶
This Account Usage view can be used to query the [ Automatic Clustering
by the view includes the credits consumed, bytes updated, and rows updated
each time a table is reclustered.
| |
snowflake_docs/data-types-semistructured_6_0.txt | Example of Inserting a VARIANT ¶
To insert VARIANT data directly, use IIS ( ` INSERT INTO ... SELECT ` ).
The example below shows how to insert JSON-formatted data into a VARIANT:
>
> INSERT INTO varia (v)
> SELECT TO_VARIANT(PARSE_JSON('{"key3": "value3", "key4":
> "value4"}'));
>
>
> Copy
| |
snowflake_docs/create-authentication-policy_5_0.txt | Access Control Requirements ¶
access-control-overview-roles) used to execute this SQL command must have the
overview.html | |
snowflake_docs/getbit_5_0.txt | Examples ¶
The following example gets the values of the bits at positions 100, 3, 2, 1,
and 0 for an integer value.
>
> SELECT GETBIT(11, 100), GETBIT(11, 3), GETBIT(11, 2), GETBIT(11, 1),
> GETBIT(11, 0);
>
> +-----------------+---------------+---------------+---------------+---------------+
> | GETBIT(11, ... | |
snowflake_docs/schemata_2_0.txt | Columns ¶
Column Name
|
Data Type
|
Description
---|---|---
SCHEMA_ID
|
NUMBER
|
Internal/system-generated identifier for the schema.
SCHEMA_NAME
|
TEXT
|
Name of the schema.
CATALOG_ID
|
NUMBER
|
Internal/system-generated identifier for the database of the schema.
CATALOG_NAME
|
TEXT
|
Database that the s... | |
snowflake_docs/st_pointn_3_0.txt | Arguments ¶
` _ geography_or_geometry_expression _ `
The argument must be an expression of type GEOGRAPHY or GEOMETRY that
represents a LineString.
` _ index _ `
The index of the Point to return. The index must be an integer.
A negative index is interpreted as the offset from the end of the LineString.
For example... | |
snowflake_docs/create-versioned-schema_10_0.txt | Usage Notes ¶
* If the schema does not exist, Snowflake creates a versioned schema.
* If the schema exists and already matches command, Snowflake views this as a no-operation.
* If the schema exists and does not match the command, Snowflake modifies the versioned schema to match the command.
Was this page h... | |
snowflake_docs/aggregation_policies_2_0.txt | Columns ¶
Column Name
|
Data Type
|
Description
---|---|---
POLICY_NAME
|
TEXT
|
Name of the aggregation policy.
POLICY_ID
|
NUMBER
|
Internal/system-generated identifier for the aggregation policy.
POLICY_SCHEMA_ID
|
TEXT
|
Internal/system-generated identifier for the schema in which the policy
resides.
P... | |
snowflake_docs/create-procedure_26_0.txt | Access Control Requirements ¶
access-control-overview-roles) used to execute this SQL command must have the
overview.html | |
snowflake_docs/desc-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
DESCRIBE ICEBERG TABLE
| |
snowflake_docs/stddev_pop_4_0.txt | Returns ¶
The data type of the returned value is DOUBLE.
If all records inside a group are NULL, this function returns NULL.
| |
snowflake_docs/alter-packages-policy_8_0.txt | Usage Notes ¶
* Regarding metadata:
Attention
Customers should ensure that no personal data (other than for a User object),
sensitive data, export-controlled data, or other regulated data is entered as
metadata when using the Snowflake service. For more information, see [
| |
snowflake_docs/info-schema_3_0.txt | Information Schema Views and Table Functions ¶
| |
snowflake_docs/system_clustering_information_5_0.txt | Output ¶
The function returns a value of type VARCHAR.
The returned string is in JSON format and contains the following name/value
pairs:
` cluster_by_keys `
Columns in table used to return clustering information; can be any columns in
the table.
` notes `
This column can contain suggestions to make clustering mor... | |
snowflake_docs/system_task_dependents_enable_4_0.txt | Arguments ¶
` _ task_name _ `
Name of a task in a simple task graph. It does not need to be a root task.
| |
snowflake_docs/show-projection-policies_1_0.txt | SHOW PROJECTION POLICIES ¶
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) .
infor... | |
snowflake_docs/boolnot_2_0.txt | Syntax ¶
BOOLNOT( expr )
Copy
| |
snowflake_docs/desc-projection-policy_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/is-distinct-from_3_0.txt | Usage Notes ¶
* The value returned depends on whether any of the inputs are NULL values:
Returns TRUE :
` <null> IS NOT DISTINCT FROM <null> `
` <null> IS DISTINCT FROM <not_null> `
` <not_null> IS DISTINCT FROM <null> `
Returns FALSE :
` <null> IS DISTINCT FROM <null> `
` <null> IS NOT DISTINCT ... | |
snowflake_docs/system_registry_list_images_2_0.txt | Syntax ¶
SYSTEM$REGISTRY_LIST_IMAGES( '/<dbName>/<schemaName>/<repositoryName>' )
Copy
| |
snowflake_docs/show-databases_4_0.txt | Usage Notes ¶
* The command does not require a running warehouse to execute.
* The value for ` LIMIT _ rows _ ` cannot exceed ` 10000 ` . If ` LIMIT _ rows _ ` is omitted, the command results in an error if the result set is larger than 10K rows.
To view results for which more than 10K records exist, eith... | |
snowflake_docs/case_2_0.txt | Syntax ¶
**Simple CASE statement:**
>
> CASE ( <expression_to_match> )
> WHEN <expression> THEN
> <statement>;
> [ <statement>; ... ]
> [ WHEN ... ]
> [ ELSE
> <statement>;
> [ <statement>; ... ]
> ]
> END [ CASE ] ;
>
>
> Copy... | |
snowflake_docs/try_to_date_0_0.txt | /
1. Construction
5. Extraction
29. Addition & Subtraction
38. Truncation
42. Conversion
57. Time Zone
59. Alerts
date-time) TRY_TO_DATE
Categories:
| |
snowflake_docs/create-external-function_8_0.txt | label-security-custom-role) .
For general information about roles and privilege grants for performing SQL
overview.html | |
snowflake_docs/st_geometryfromwkb_5_0.txt | Arguments ¶
**Required:**
` _ varchar_or_binary_expression _ `
The argument must be a string or binary expression in WKB or EWKB that
represents a valid geospatial object.
A string expression must be in hexadecimal format (without a leading ` 0x `
).
**Optional:**
` _ srid _ `
The integer value of the SRID to use... | |
snowflake_docs/desc-password-policy_0_0.txt | /
1. Authentication Policy
7. Network Policy
13. Network Rule
19. Packages Policy
25. Password Policy
31. Session Policy
37. Secret
POLICY
| |
snowflake_docs/data-type-conversion_0_0.txt | /
data-types) Conversion
| |
snowflake_docs/alter-security-integration-saml2_8_0.txt | label-modify-saml2-security-
integration) .
| |
snowflake_docs/remaining_balance_daily_legacy_3_0.txt | Usage Notes ¶
* Latency for the view may be up to 72 hours.
* On demand consumption balance resets after month close (typically on the 3rd or 4th day of the next month) after it is invoiced and paid.
* Until month close, data for a given day in a month can change to account for any end-of-month adjustments/c... | |
snowflake_docs/st_asewkb_8_0.txt | GEOMETRY Examples ¶
The example below demonstrates how to use the ST_ASEWKB function. The example
returns the EWKB representations of two geometries that have different SRIDs.
>
> CREATE OR REPLACE TABLE geometry_table (g GEOMETRY);
> INSERT INTO geometry_table VALUES
> ('SRID=4326;POINT(-122.35 37.55)... | |
snowflake_docs/st_centroid_3_0.txt | Arguments ¶
` _ geography_or_geometry_expression _ `
The argument must be an expression of type GEOGRAPHY or GEOMETRY.
| |
snowflake_docs/is_date-value_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/insert_5_0.txt | Usage Notes ¶
* Using a single INSERT command, you can insert multiple rows into a table by specifying additional sets of values separated by commas in the ` VALUES ` clause.
For example, the following clause would insert 3 rows in a 3-column table,
with values ` 1 ` , ` 2 ` , and ` 3 ` in the first two rows ... | |
snowflake_docs/drop-external-table_3_0.txt | Parameters ¶
` _ name _ `
Specifies the identifier for the external table to drop. If the identifier
contains spaces, special characters, or mixed-case characters, the entire
string must be enclosed in double quotes. Identifiers enclosed in double
quotes are also case-sensitive (e.g. ` "My Object" ` ).
If the ext... | |
snowflake_docs/show-streams_2_0.txt | Syntax ¶
SHOW [ TERSE ] STREAMS [ LIKE '<pattern>' ]
[ IN { ACCOUNT | DATABASE [ <db_name> ] | [ SCHEMA ] [ <schema_name> ] } ]
[ STARTS WITH '<name_string>' ]
[ LIMIT <rows> [ FROM '<name_string>' ] ]
Copy
| |
snowflake_docs/data-types-structured_29_0.txt | Determining the Size of a Structured ARRAY ¶
To determine the size of a structured ARRAY, pass the ARRAY to the [
SELECT ARRAY_SIZE([1,2,3]::ARRAY(NUMBER));
Copy
| |
snowflake_docs/references_15_0.txt | References for consumers ¶
You can create a reference by using the [ SYSTEM$REFERENCE
that the function returns to a stored procedure, application, or class
instance. Alternatively, you can pass in the statement that creates the
reference in place of the string identifier.
| |
snowflake_docs/system_get_job_status_0_0.txt | /
1. Control
29. Information
90. Query Information
SYSTEM$GET_JOB_STATUS
Categories:
| |
snowflake_docs/drop-aggregation-policy_10_0.txt | Example ¶
Drop the aggregation policy:
DROP AGGREGATION POLICY my_aggpolicy;
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. Example
Language : **English** | |
snowflake_docs/strtok_7_0.txt | 1 is past the end of the string, so the function
> returns NULL rather than an empty string:
>
>
> select strtok('', '', 1);
> +-------------------+
> | STRTOK('', '', 1) |
> |-------------------|
> | NULL |
> +-------------------+
>
>
> Copy
Here is an example with an empty d... | |
snowflake_docs/desc-row-access-policy_5_0.txt | label-access-control-overview-privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
APPLY ROW ACCESS POLICY
|
Account
|
APPLY
|
Row access policy
|
OWNERSHIP
|
Row access policy
|
OWNERSHIP is a special privilege on an object that is automatically granted to
the role that created the object, but can ... | |
snowflake_docs/st_transform_4_0.txt | Arguments ¶
**Required:**
` _ geometry_expression _ `
The argument must be of type GEOMETRY.
` _ to_srid _ `
The [ spatial reference system identifier (SRID)
identifies the SRS to use. The function transforms the input GEOMETRY object
to a new object that uses this SRS.
**Optional:**
` _ from_srid _ `
The SRID id... | |
snowflake_docs/st_disjoint_5_0.txt | Returns ¶
BOOLEAN.
| |
snowflake_docs/booland_agg_0_0.txt | /
1. General
26. Bitwise
30. Boolean
34. Hash
36. Semi-Structured
39. Linear Regression
49. Statistics and Probability
52. Count Distinct Values
60. Cardinality Estimation
68. Similarity Estimation
73... | |
snowflake_docs/collation_17_0.txt | Sorting Using UTF-8 vs Locale Collation ¶
Strings are always stored internally in Snowflake in UTF-8, and can represent
any character in any language supported by UTF-8; therefore, the default
collation is UTF-8 (i.e. ` 'utf8' ` ).
UTF-8 collation is based on the numeric representation of the character as
opposed t... | |
snowflake_docs/create-api-integration_4_0.txt | For Azure API Management ¶
CREATE [ OR REPLACE ] API INTEGRATION [ IF NOT EXISTS ] <integration_name>
API_PROVIDER = azure_api_management
AZURE_TENANT_ID = '<tenant_id>'
AZURE_AD_APPLICATION_ID = '<azure_application_id>'
[ API_KEY = '<api_key>' ]
API_ALLOWED_PREFIXES = ( '... | |
snowflake_docs/desc-session-policy_4_0.txt | Parameters ¶
` _ name _ `
Identifier for the session 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 enclosed ... | |
snowflake_docs/asof-join_2_0.txt | Syntax ¶
The following FROM clause syntax is specific to ASOF JOIN:
SELECT ...
FROM <left_table> ASOF JOIN <right_table>
MATCH_CONDITION (<left_table.timecol> <comparison_operator> <right_table.timecol>)
[ ON <table.col> = <table.col> [ AND ... ] ]
Copy
` SELECT ... `
The SELECT list may select... | |
snowflake_docs/desc-projection-policy_5_0.txt | Access control requirements ¶
access-control-overview-roles) used to execute this SQL command must have at
control-overview.html | |
snowflake_docs/data-types-datetime_16_0.txt | Supported Date and Time Parts for Intervals ¶
The INTERVAL keyword supports the following date and time parts as arguments
(case-insensitive):
Date or Time Part
|
Abbreviations / Variations
---|---
` year `
|
` y ` , ` yy ` , ` yyy ` , ` yyyy ` , ` yr ` , ` years ` , ` yrs `
` quarter `
|
` q ` , ` q... | |
snowflake_docs/st_y_4_0.txt | Returns ¶
Returns a REAL value.
| |
snowflake_docs/show-tables_6_0.txt | Examples ¶
These examples show all of the tables that you have privileges to view based
on the specified parameters.
guide/sample-data) . The examples use the TERSE parameter to limit the output.
> Show all the tables with a name that starts with ` LINE ` in the ` tpch_sf1
> ` schema:
>
>
> SHOW TERSE TABLE... | |
snowflake_docs/truncate-table_1_0.txt | TRUNCATE TABLE ¶
Removes all rows from a table but leaves the table intact (including all
privileges and constraints on the table). Also deletes the load metadata for
the table, which allows the same files to be loaded into the table again after
the command completes.
the table from the system but retains a version ... | |
snowflake_docs/conventions_0_0.txt | /
Conventions
| |
snowflake_docs/warehouse_load_history_1_0.txt | WAREHOUSE_LOAD_HISTORY View ¶
This Account Usage view can be used to analyze the workload on your warehouse
within a specified date range.
See also:
| |
snowflake_docs/alter-session_5_0.txt | Examples ¶
Set the lock timeout for statements executed in the session to 1 hour (3600
seconds):
>
> ALTER SESSION SET LOCK_TIMEOUT = 3600;
>
>
> Copy
Set the lock timeout for statements executed in the session back to the
default:
>
> ALTER SESSION UNSET LOCK_TIMEOUT;
>
>
> Copy
Was this page helpful?
Y... | |
snowflake_docs/create-alert_15_0.txt | label-access-control-securable-objects) , see [ Overview of
| |
snowflake_docs/parameters_29_0.txt | CLIENT_TIMESTAMP_TYPE_MAPPING ¶
Type :
Session — Can be set for Account » User » Session
Data Type :
String (Constant)
Clients :
Any
Description :
datatypes-timestamp-variations) to use when binding timestamp variables for
JDBC or ODBC applications that use the bind API to load data.
Values :
` TIMESTAMP_LTZ `... | |
snowflake_docs/st_geographyfromwkb_5_0.txt | Arguments ¶
**Required:**
` _ varchar_or_binary_expression _ `
The argument must be a string or binary expression in WKB or EWKB that
represents a valid geospatial object.
A string expression must be in hexadecimal format (without a leading ` 0x `
).
**Optional:**
` _ allow_invalid _ `
If TRUE, specifies that the... | |
snowflake_docs/delete_category_2_0.txt | label-custom-classification-working)
Deletes the specified semantic category with its associated privacy category,
regular expression, and comment from the instance.
| |
snowflake_docs/drop-secret_2_0.txt | Syntax ¶
DROP SECRET [ IF EXISTS ] <name>
Copy
| |
snowflake_docs/st_ymax_1_0.txt | ST_YMAX ¶
Returns the maximum latitude (Y coordinate) of all points contained in the
geometry) object.
| |
snowflake_docs/transactions_31_0.txt | Logging Information Independently of a Transaction’s Success ¶
This is a simple, practical example of how to use a scoped transaction. In
this example, a transaction logs certain information; that logged information
is preserved whether the transaction itself succeeds or fails. This technique
can be used to track al... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.