id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
snowflake_docs/alter-alert_12_0.txt | label-access-control-overview-roles) with the
overview.html | |
snowflake_docs/sysdate_3_0.txt | Arguments ¶
None.
| |
snowflake_docs/st_hausdorffdistance_4_0.txt | Returns ¶
Returns a value of type REAL that represents the discrete Hausdorff distance
in degrees.
| |
snowflake_docs/unset_0_0.txt | /
1. Parameters
4. Context
10. Variables
14. Queries
| |
snowflake_docs/drop-secret_5_0.txt | label-access-control-overview-privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
OWNERSHIP
|
Secret
|
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 GRANTS privil... | |
snowflake_docs/constraints-create_3_0.txt | Creating Constraints Out-of-line ¶
The following out-of-line syntax must be used for multi-column constraints,
but can also be used for single-column constraints:
CREATE [OR REPLACE] TABLE <name> ( ... , [ <outofline_constraint> ], ... )
ALTER TABLE <name> ADD <outofline_constraint>
Copy
For ` _ outofline_co... | |
snowflake_docs/columns_3_0.txt | > ...) ` .
IDENTITY_INCREMENT
|
TEXT
|
The INCREMENT value from ` CREATE TABLE ... (columnX ... AUTOINCREMENT
INCREMENT < | |
snowflake_docs/functions-analytic_12_0.txt | Window Syntax ¶
<function> ( [ <arguments> ] ) OVER ( [ PARTITION BY <expr1> ] [ ORDER BY <expr2> ] )
Copy
The ` OVER ` clause specifies that the function is being used as a window
function.
The ` PARTITION BY ` sub-clause allows rows to be grouped into sub-groups,
for example by city, by year, etc. The ` PAR... | |
snowflake_docs/create-stage_8_1.txt | ryption (requires a MASTER_KEY value).
For information, see the [ Client-side encryption information
encryption) in the Microsoft Azure documentation.
>>
>> * ` NONE ` : No encryption.
>>
>>
>> ` MASTER_KEY = ' _ string _ ' ` (applies to AZURE_CSE encryption only)
>>
>>
>> Specifies the client-side master key... | |
snowflake_docs/translate-snowflake-cortex_8_0.txt | label-cortex-llm-privileges) for more information on granting
this privilege.
| |
snowflake_docs/jarowinkler_similarity_1_0.txt | JAROWINKLER_SIMILARITY ¶
Computes the [ Jaro-Winkler similarity
input strings. The function returns an integer between 0 and 100, where 0
indicates no similarity and 100 indicates an exact match.
Note
* The similarity computation is case-insensitive.
* The computation is sensitive to all formatting characters, ... | |
snowflake_docs/show-streams_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/system_query_reference_6_0.txt | Usage Notes ¶
| |
snowflake_docs/class_instance_procedures_0_0.txt | /
CLASS_INSTANCE_PROCEDURES
| |
snowflake_docs/create-security-integration-scim_11_0.txt | Microsoft Azure AD example ¶
The following example creates a Microsoft Azure AD SCIM integration with the
default settings:
CREATE OR REPLACE SECURITY INTEGRATION okta_provisioning
TYPE = scim
SCIM_CLIENT = 'AZURE'
RUN_AS_ROLE = 'AAD_PROVISIONER';
Copy
integration) :
DESC SECURITY INT... | |
snowflake_docs/chr_2_0.txt | Syntax ¶
CHR( <input> )
Copy
| |
snowflake_docs/regexp_7_1.txt | still interpreted as escape sequences by
REGEXP.)
>
> SELECT v, v regexp $$.*\s\\.*$$ AS MATCHES
> FROM strings
> ORDER BY v;
>
>
> Copy
>
>
> +-------------------------------------+---------+
> | V | MATCHES |
> |----------------------------------... | |
snowflake_docs/create-notification-integration_2_0.txt | Features ¶
Notification integrations are integral to the following features per cloud
storage service and email service:
Amazon Web Services (AWS) :
**Push notifications:**
> errors-sns)
>
> errors-aws)
>
>
**Email notifications:**
> procedures)
>
>
Google Cloud (GCP) :
**Automated data loads or metadata refreshes... | |
snowflake_docs/top_insights_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/get_linked_resources_4_0.txt | Access Control Requirements ¶
The following minimum privileges and roles are required to view results for
_custom budgets_ :
* A role granted the USAGE privilege on the database and schema that contains the budget instance.
| |
snowflake_docs/sql-format-models_1_0.txt | SQL Format Models ¶
In Snowflake, SQL format models (i.e. literals containing format strings) are
used to specify how numeric values are converted to text strings and vice
versa. As such, they can be specified as arguments in the [ TO_CHAR ,
Note
Snowflake also provides some limited SQL format model support for date... | |
snowflake_docs/st_xmax_4_0.txt | Returns ¶
Returns a REAL value.
| |
snowflake_docs/data-types-numeric_10_0.txt | Precision ¶
Snowflake uses double-precision (64 bit) IEEE 754 floating-point numbers.
Precision is approximately 15 digits. For example, for integers, the range is
from -9007199254740991 to +9007199254740991 (-2 53 \+ 1 to +2 53 \- 1).
Floating-point values can range from approximately 10 -308 to 10 +308 .
(... | |
snowflake_docs/regr_r2_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/st_asewkt_4_0.txt | Returns ¶
A VARCHAR.
| |
snowflake_docs/st_startpoint_7_0.txt | GEOGRAPHY Examples ¶
The following query returns the first Point in a LineString:
ALTER SESSION SET GEOGRAPHY_OUTPUT_FORMAT='WKT';
SELECT ST_STARTPOINT(TO_GEOGRAPHY('LINESTRING(1 1, 2 2, 3 3, 4 4)'));
+---------------------------------------------------------------+
| ST_STARTPOINT(TO_GEOGRAPHY('LINE... | |
snowflake_docs/covar_pop_4_0.txt | Examples ¶
CREATE OR REPLACE TABLE aggr(k int, v decimal(10,2), v2 decimal(10, 2));
INSERT INTO aggr VALUES(1, 10, NULL);
INSERT INTO aggr VALUES(2, 10, 11), (2, 20, 22), (2, 25, NULL), (2, 30, 35);
SELECT * FROM aggr;
+---+-------+---------+
| K | V | V2 |
|---+-------+---------... | |
snowflake_docs/create-network-rule_2_0.txt | Syntax ¶
CREATE [ OR REPLACE ] NETWORK RULE <name>
TYPE = { IPV4 | AWSVPCEID | AZURELINKID | HOST_PORT }
VALUE_LIST = ( '<value>' [, '<value>', ... ] )
MODE = { INGRESS | INTERNAL_STAGE | EGRESS }
[ COMMENT = '<string_literal>' ]
Copy
| |
snowflake_docs/use-role_5_0.txt | label-access-control-role-enforcement) enable you to perform SQL
actions using the combined privileges of the other roles granted to you.
* The USE command cannot be used to change the session context in a Snowsight worksheet. To select (or change) the current role for the user session, click the session context drop... | |
snowflake_docs/get_presigned_url_1_0.txt | GET_PRESIGNED_URL ¶
Generates a pre-signed URL to a file on a stage using the stage name and
relative file path as inputs.
Access files in a stage using any of the following methods:
* Navigate to the pre-signed URL directly in a web browser.
* Retrieve a pre-signed URL in Snowsight. Click on the pre-signed URL... | |
snowflake_docs/remove_3_0.txt | Required parameters ¶
` internalStage | externalStage `
Specifies the location where the data files are staged:
> ` @[ _ namespace _ .] _ int_stage_name _ [/ _ path _ ] `
>
> |
>
> Files are in the specified named internal stage.
>
> ---|---
>
> ` @[ _ namespace _ .] _ ext_stage_name _ [/ _ pa... | |
snowflake_docs/to_decimal_6_0.txt | Examples ¶
Create a table with a VARCHAR column, then retrieve the string values from the
table and pass those values to the TO_NUMBER function with different ` _
precision _ ` and ` _ scale _ ` values.
CREATE OR REPLACE TABLE number_conv(expr VARCHAR);
INSERT INTO number_conv VALUES ('12.3456'), ('98.7654... | |
snowflake_docs/split_part_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/desc-task_4_0.txt | Usage notes ¶
* Only returns rows for a task owner (i.e. the role with the OWNERSHIP privilege on a task) or a role with either the MONITOR or OPERATE privilege on a task.
| |
snowflake_docs/st_intersects_9_0.txt | GEOMETRY Examples ¶
This shows a simple use of the ST_INTERSECTS function:
>
> SELECT ST_INTERSECTS(
> TO_GEOMETRY('POLYGON((0 0, 0 2, 2 2, 2 0, 0 0))'),
> TO_GEOMETRY('POLYGON((1 1, 3 1, 3 3, 1 3, 1 1))')
> );
>
>
> Copy
>
>
> +------------------------------------------------------+
> ... | |
snowflake_docs/commands-database_0_0.txt | /
1. Database
9. Schema
17. Share
commands) Databases, Schemas, & Shares
| |
snowflake_docs/st_isvalid_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_ISVALID
Categories:
| |
snowflake_docs/date_from_parts_3_0.txt | Arguments ¶
` _ year _ `
The integer expression to use as a year for building a date.
` _ month _ `
The integer expression to use as a month for building a date, with January
represented as 1, and December as 12.
` _ day _ `
The integer expression to use as a day for building a date, usually in the
1-31 range.
| |
snowflake_docs/system_typeof_3_0.txt | Arguments ¶
` _ expr _ `
The argument can be a column name or a general expression.
| |
snowflake_docs/alter-tag_10_0.txt | label-access-control-securable-objects) , see [ Overview of
For additional details on tag DDL and privileges, see [ Managing tags
| |
snowflake_docs/alter-table_14_4.txt | fies whether to skip the BOM (byte order mark), if present
in a data file. A BOM is a character code at the beginning of a data file that
defines the byte order and encoding form.
If set to ` FALSE ` , Snowflake recognizes any BOM in data files, which could
result in the BOM either causing an error or being merged int... | |
snowflake_docs/create-external-table_23_0.txt | Partitions added manually ¶
Create an external table with user-defined partitions (i.e. the partitions are
added manually by the external table owner).
1. Create an external stage named ` s2 ` for the storage location where the data files are stored:
The stage definition includes the path ` /files/logs/ ` :
**A... | |
snowflake_docs/functions-all_31_0.txt | label-variant-null) value to a SQL NULL value.
|
|
Tokenizes a given string and returns the requested part.
|
|
Tokenizes a string with the given set of delimiters and flattens the results
into rows.
|
|
Tokenizes the given string using the given set of delimiters and returns the
tokens as an array.
|
|
Returns the por... | |
snowflake_docs/count_2_0.txt | Syntax ¶
**Aggregate function**
COUNT( [ DISTINCT ] <expr1> [ , <expr2> ... ] )
COUNT( * )
Copy
**Window function**
COUNT( [ DISTINCT ] <expr1> [ , <expr2> ... ] ) OVER (
[ PARTITION BY <expr3> ]
... | |
snowflake_docs/users_0_0.txt | /
Schema:
| |
snowflake_docs/system_get_job_status_2_0.txt | label-snowpark-containers-working-with-jobs-
monitor-job)
| |
snowflake_docs/parameters_42_0.txt | ENABLE_UNLOAD_PHYSICAL_TYPE_OPTIMIZATION ¶
Type :
Session — Can be set for Account » User » Session
Data Type :
Boolean
Description :
Specifies whether to set the schema for unloaded Parquet files based on the
logical column data types (i.e. the types in the unload SQL query or source
table) or on the unloaded co... | |
snowflake_docs/functions-analytic_2_0.txt | Overview ¶
| |
snowflake_docs/columns_0_0.txt | /
| |
snowflake_docs/min_by_1_0.txt | MIN_BY ¶
Finds the row(s) containing the minimum value for a column and returns the
value of another column in that row.
For example, if a table contains the columns ` employee_id ` and ` salary `
, ` MIN_BY(employee_id, salary) ` returns the value of the ` employee_id `
column for the row that has the lowest v... | |
snowflake_docs/stages_2_0.txt | Columns ¶
Column Name
|
Data Type
|
Description
---|---|---
STAGE_CATALOG
|
TEXT
|
Database that the stage belongs to.
STAGE_SCHEMA
|
TEXT
|
Schema that the stage belongs to.
STAGE_NAME
|
TEXT
|
Name of the stage.
STAGE_URL
|
TEXT
|
Location of an external stage.
STAGE_REGION
|
TEXT
|
Region where the st... | |
snowflake_docs/show-packages-policies_3_0.txt | Parameters ¶
` [ IN ... ] `
Optionally specifies the scope of the command. Specify one of the following:
` SCHEMA ` , . ` SCHEMA _ schema_name _ ` , . ` _ schema_name _ `
Returns records for the current schema in use or a specified schema ( ` _
schema_name _ ` ).
` SCHEMA ` is optional if a database is... | |
snowflake_docs/current_schemas_2_0.txt | Syntax ¶
CURRENT_SCHEMAS()
Copy
| |
snowflake_docs/create-application-role_7_0.txt | Examples ¶
CREATE APPLICATION ROLE app_role
COMMENT = 'Application role for the Hello Snowflake application.';
Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Required parameters
3. Optional parameters
4. Usage notes
5. Examples
Related content
Lang... | |
snowflake_docs/show-indexes_6_0.txt | Output ¶
Column
|
Description
---|---
` created_on `
|
Date and time when the index was created.
` name `
|
Name of the index.
` is_unique `
|
Whether the index is a unique index.
` columns `
|
List of indexed columns.
` included_columns `
|
List of covered columns.
` table `
|
Name of the table.... | |
snowflake_docs/anomaly_detection_4_0.txt | Parameters ¶
` _ name _ `
Specifies the identifier ( _name_ ) for the anomaly detector object; must be
unique for the schema in which the object is created.
In addition, the identifier must start with an alphabetic character and cannot
contain spaces or special characters unless the entire identifier string is
encl... | |
snowflake_docs/desc-warehouse_0_0.txt | /
1. Virtual Warehouses
8. Resource Monitors
reference/commands-warehouse) DESCRIBE WAREHOUSE
| |
snowflake_docs/current_ip_address_4_0.txt | Examples ¶
Return the current IP address of the client that is connected to Snowflake:
>
> select current_ip_address();
>
> +----------------------+
> | CURRENT_IP_ADDRESS() |
> +----------------------+
> | 192.0.2.255 |
> +----------------------+
>
>
> Copy
Was this page helpful... | |
snowflake_docs/group-by_6_0.txt | Group By One Column ¶
This example shows the gross revenue per product, grouped by ` product_id `
(i.e. the total amount of money received for each product):
SELECT product_ID, SUM(retail_price * quantity) AS gross_revenue
FROM sales
GROUP BY product_ID;
Copy
+------------+---------------+
|... | |
snowflake_docs/alter-alert_10_0.txt | | | | | |
* * * * *
Copy
The following special characters are supported:
Special Character
|
Description
---|---
` * `
|
Wildcard. When specified for a given field, the alert runs at every unit of
time for that field.
For example, ` * ` in the month field specifies that the alert runs every
month.
` L `... | |
snowflake_docs/st_srid_5_0.txt | Usage Notes ¶
* Returns NULL if the input is NULL.
| |
snowflake_docs/square_4_0.txt | Examples ¶
SELECT column1, square(column1)
FROM (values (0), (1), (-2), (3.15), (null)) v;
---------+-----------------+
column1 | square(column1) |
---------+-----------------+
0 | 0 |
1 | 1 |
-2 | 4 |
3.15 | 9.922... | |
snowflake_docs/localtime_2_0.txt | Syntax ¶
LOCALTIME()
LOCALTIME
Copy
| |
snowflake_docs/split_part_2_0.txt | Syntax ¶
SPLIT_PART(<string>, <delimiter>, <partNumber>)
Copy
| |
snowflake_docs/encrypt_raw_3_0.txt | Arguments ¶
**Required:**
` _ value_to_encrypt _ `
The binary value to encrypt.
` _ key _ `
The key to use to encrypt/decrypt the data. The key must be a BINARY value.
The key can be any value as long as the length is correct. For example, for
AES128, the key must be 128 bits (16 bytes), and for AES256, the key mu... | |
snowflake_docs/listing_auto_fulfillment_usage_history_1_0.txt | LISTING_AUTO_FULFILLMENT_USAGE_HISTORY View ¶
This view in the ORGANIZATION_USAGE schema can be used to estimate the costs
docs.snowflake.com/collaboration/provider-listings-auto-fulfillment | |
snowflake_docs/array_append_4_0.txt | Returns ¶
The data type of the returned value is ` ARRAY ` .
| |
snowflake_docs/data-types-structured_25_0.txt | Working with Keys, Values, and Elements in Structured Types ¶
The following sections explain how to use values and elements in structured
types.
* Getting the List of Keys from a Structured OBJECT
* Getting the List of Keys from a MAP
* Accessing Values and Elements from Structured Types
* Determining the... | |
snowflake_docs/functions-all_28_0.txt | label-data-types-geography) object or the Euclidean
geospatial.html | |
snowflake_docs/drop-masking-policy_3_0.txt | Parameters ¶
` _ name _ `
Identifier for the masking 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/time_from_parts_5_0.txt | Examples ¶
ALTER SESSION SET TIME_OUTPUT_FORMAT='HH24:MI:SS.FF9';
Copy
Components in normal ranges:
>
> select time_from_parts(12, 34, 56, 987654321);
>
> ----------------------------------------+
> TIME_FROM_PARTS(12, 34, 56, 987654321) |
> ----------------------------------------+
> 12:... | |
snowflake_docs/set_2_0.txt | Syntax ¶
SET <var> = <expr>
SET ( <var> [ , <var> ... ] ) = ( <expr> [ , <expr> ... ] )
Copy
| |
snowflake_docs/decompress_string_4_0.txt | Returns ¶
A string with decompressed data.
| |
snowflake_docs/system_stream_backlog_6_0.txt | Examples ¶
Retrieve the current set of unconsumed table versions for stream `
db1.schema1.s1 ` :
>
> SELECT * FROM TABLE(SYSTEM$STREAM_BACKLOG('db1.schema1.s1'));
>
>
> Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Arguments
3. Usage Notes
4. Examples
L... | |
snowflake_docs/system_database_refresh_progress_4_0.txt | Output ¶
The function returns the following elements in a JSON object:
Column Name
|
Data Type
|
Description
---|---|---
phaseName
|
TEXT
|
Name of the replication phases completed (or in progress) so far. For the list
of phases, see the usage notes.
resultName
|
TEXT
|
Status of the replication phase.
start... | |
snowflake_docs/get_stage_location_0_0.txt | /
GET_STAGE_LOCATION
Categories:
| |
snowflake_docs/parameters_6_0.txt | Object Parameters ¶
Object parameters can be set at the following levels:
Account :
command to set object parameters for the account. The values set for the
account default to the objects created in the account.
Object :
Users with the appropriate privileges can use the corresponding [ CREATE
object parameters for... | |
snowflake_docs/previous_day_3_0.txt | Arguments ¶
` _ date_or_time_expr _ `
Specifies the input date; can be a date or timestamp.
` _ dow_string _ `
Specifies the day of week used to calculate the date for the previous day. The
value can be a string literal or an expression that returns a string. The
string must start with the first two characters (ca... | |
snowflake_docs/show-tasks_1_0.txt | SHOW TASKS ¶
Lists the tasks for which you have access privileges. The command can be used
to list tasks for the current/specified database or schema, or across your
entire account.
The output returns task metadata and properties, ordered lexicographically by
database, schema, and task name (see Output in this top... | |
snowflake_docs/sql-format-models_8_0.txt | Numeric Format Models ¶
Numeric format models supports two types:
* Fixed-position (with explicit placement of digits where the ` 0 ` , ` 9 ` , or ` X ` format elements are placed)
* Text-minimal ( ` TM ` , ` TME ` , and ` TM9 ` format elements)
Note
These two types cannot be intermingled within the same... | |
snowflake_docs/create-secret_9_0.txt | label-access-control-overview-privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
CREATE SECRET
|
Schema
|
Note that operating on any object in a schema also requires the USAGE
privilege on the parent database and schema.
For instructions on creating a custom role with a specified set of privileges,
... | |
snowflake_docs/approx_top_k_combine_6_0.txt | Examples ¶
This example shows how to use the three related functions `
APPROX_TOP_K_ACCUMULATE ` , ` APPROX_TOP_K_ESTIMATE ` , and `
APPROX_TOP_K_COMBINE ` .
Note
This example uses more counters than distinct data values in order to get
consistent results. In real-world applications, the number of distinct values... | |
snowflake_docs/references_2_0.txt | Introduction ¶
A reference is a string that can be used as an identifier. The identifier
resolves to the object being referenced.
A reference encapsulates the following:
* The object name.
* The active role used to create the object reference and any active secondary role(s) if applicable.
* The privilege(s)... | |
snowflake_docs/regexp_instr_9_0.txt | Examples of Capture Groups ¶
This section shows how to use the “group” feature of regular expressions.
The first few examples in this section don’t use capture groups; the section
starts with some simple examples and then continues on with examples that use
capture groups.
These examples use the strings created belo... | |
snowflake_docs/show-endpoints_8_0.txt | label-security-custom-role) .
For general information about roles and privilege grants for performing SQL
overview.html | |
snowflake_docs/summarize-snowflake-cortex_3_0.txt | Syntax ¶
SNOWFLAKE.CORTEX.SUMMARIZE(<text>)
Copy
| |
snowflake_docs/try_to_decimal_4_0.txt | Returns ¶
The function returns ` NUMBER(p,s) ` , where p is the ` _ precision _ ` and
s is the ` _ scale _ ` .
If the ` _ precision _ ` is not specified, then it defaults to 38.
If the ` _ scale _ ` is not specified, then it defaults to 0.
| |
snowflake_docs/alter-share_1_0.txt | ALTER SHARE ¶
enabled for all accounts
Provider sharing is enabled by default for most, but not all accounts.
If you encounter errors when attempting to share data with consumers, the
feature may not be enabled for your account. To inquire about enabling it,
please contact [ Snowflake Support
Snowflake-Lodge) .
shar... | |
snowflake_docs/show-replication-databases_1_0.txt | SHOW REPLICATION DATABASES ¶
Lists all the primary and secondary databases (that is to say, all the
databases for which replication has been enabled) in your account and
account is located.
See also:
| |
snowflake_docs/parse_xml_5_0.txt | Usage Notes ¶
* You must either specify all arguments by name or by position. You cannot specify some of the arguments by name and other arguments by position.
When specifying an argument by name, you cannot use double quotes around the
argument name.
* NUMERIC and BOOLEAN:
PARSE_XML attempts to convert obvi... | |
snowflake_docs/add_regex_4_0.txt | Required arguments ¶
` _ semantic_category _ `
Specifies the identifier (i.e. name) for semantic category.
For details about semantic categories, see [ System tags and categories
.
` _ privacy_category _ `
Specify one of the following values: ` 'IDENTIFIER' ` , ` 'QUASI_IDENTIFIER'
` , or ` 'SENSITIVE' ` .
For d... | |
snowflake_docs/last_transaction_2_0.txt | Syntax ¶
LAST_TRANSACTION()
Copy
| |
snowflake_docs/desc-warehouse_4_0.txt | Usage Notes ¶
| |
snowflake_docs/system_cancel_job_3_0.txt | Arguments ¶
` _ job_uuid _ `
Snowflake-assigned UUID of the job.
| |
snowflake_docs/execute-service_11_0.txt | Examples ¶
Create a Snowpark Container Services job:
EXECUTE SERVICE
IN COMPUTE POOL tutorial_compute_pool
FROM @tutorial_stage
SPECIFICATION_FILE='my_job_spec.yaml';
Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Required parameters
3. Option... | |
snowflake_docs/create-function_17_0.txt | Python ¶
` LANGUAGE PYTHON `
Specifies that the code is in the Python language.
` RUNTIME_VERSION = _ python_version _ `
Specifies the Python version to use. The supported versions of Python are:
* 3.8
* 3.9
* 3.10
* 3.11
` IMPORTS = ( ' _ stage_path_and_file_name_to_read _ ' [ , ... ] )
`... | |
snowflake_docs/st_covers_5_0.txt | Usage Notes ¶
* For GEOMETRY objects, the function reports an error if the two input GEOMETRY objects have different SRIDs.
| |
snowflake_docs/alter-resource-monitor_3_0.txt | Parameters ¶
` _ name _ `
Specifies the identifier for the resource monitor to alter. 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.
` SET ... `
` CREDIT_QUOTA = _ num _ `
Specifies the... | |
snowflake_docs/data-types-geospatial_26_0.txt | Example 1: Querying the Distance Between Berlin and San Francisco ¶
The following table compares the output of [ ST_DISTANCE
ST_DISTANCE Using . GEOGRAPHY Input
|
ST_DISTANCE Using . GEOMETRY Input
---|---
SELECT ST_DISTANCE(
ST_POINT(13.4814, 52.5015),
ST_POINT(-121.8212, 36.82... | |
snowflake_docs/bind-variables_11_0.txt | Using Bind Variables with Semi-Structured Data ¶
To bind variables with semi-structured data, bind the variable as a string
The following example creates a table with one VARIANT column and then calls
the PARSE_JSON function to insert semi-structured data into the table with a
bind variable:
>
> CREATE TABLE t (... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.