id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
snowflake_docs/st_isvalid_2_0.txt | Syntax ¶
ST_ISVALID( <geography_or_geometry_expression> )
Copy
| |
snowflake_docs/show-pipes_0_0.txt | /
1. Stage
7. File Format
13. External Volume
20. Pipe
26. Snowpipe Streaming
28. Loading and Unloading
loading) SHOW PIPE
| |
snowflake_docs/st_makepolygon_7_0.txt | GEOGRAPHY Examples ¶
This shows a simple use of the ST_MAKEPOLYGON function. The sequence of points
below defines a geodesic rectangular area 1 degree wide and 2 degrees high,
with the lower left corner of the polygon starting at the equator (latitude)
and Greenwich (longitude). The last point in the sequence is the... | |
snowflake_docs/array_remove_at_4_0.txt | Returns ¶
An ARRAY with the element at the specified position removed.
If ` _ position _ ` is NULL, the function returns NULL.
| |
snowflake_docs/functions-all_15_0.txt | label-data-type-object) value.
|
|
Returns the relative rank of a value within a group of values, specified as a
percentage ranging from 0.0 to 1.0.
|
|
Return a percentile value based on a continuous distribution of the input
column (specified in ` _ order_by_expr _ ` ).
|
|
Returns a percentile value based on a disc... | |
snowflake_docs/chr_1_0.txt | CHR , CHAR ¶
Converts a Unicode code point (including 7-bit ASCII) into the character that
matches the input Unicode. If an invalid code point is specified, an error is
returned.
CHAR is an alias for CHR.
See also:
| |
snowflake_docs/create-function_0_0.txt | /
1. User Defined Function
7. External Function
13. Stored Procedure
21. Snowflake Scripting
function) CREATE FUNCTION
| |
snowflake_docs/show-tags_6_0.txt | label-security-custom-role) .
For general information about roles and privilege grants for performing SQL
overview.html | |
snowflake_docs/commands-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
commands) Tables, Views, & Sequences
| |
snowflake_docs/execute-task_6_1.txt | laced with the requested run.
* While calls to the EXECUTE TASK command are handled synchronously, task runs are asynchronous operations.
If this SQL command is executed multiple times while a run of the task is
ongoing, all of the command executions except for the last one are ignored.
When the next run begins, t... | |
snowflake_docs/alter-database-role_1_0.txt | ALTER DATABASE ROLE ¶
Modifies the properties for an existing database role.
Currently, the only supported operations are renaming a database role or
adding/overwriting/removing a comment for a database role.
See also:
| |
snowflake_docs/with_1_0.txt | WITH ¶
The WITH clause is an optional clause that precedes the body of the [ SELECT
Note
You can use a WITH clause when creating and calling an anonymous procedure
similar to a stored procedure. That clause modifies a CALL command rather than
a SELECT command. For more information, see [ CALL (with Anonymous Procedu... | |
snowflake_docs/typeof_3_0.txt | Syntax ¶
TYPEOF( <expr> )
Copy
| |
snowflake_docs/compress_1_0.txt | COMPRESS ¶
Compresses the input string or binary value with a compression method.
See also:
| |
snowflake_docs/collation_33_1.txt | y | check | expression | comment | policy name |
>
> |------+--------------------------------+--------+-------+---------+-------------+------------+-------+------------+---------+-------------|
> | C1 | VARCHAR(16777216) COLLATE 'fr' | COLUMN | Y | NULL | N
> | N | NULL | NULL | NULL | N... | |
snowflake_docs/drop-file-format_1_0.txt | DROP FILE FORMAT ¶
Removes the specified file format from the current/specified schema.
See also:
| |
snowflake_docs/execute-immediate-from_11_0.txt | File Errors ¶
Error
|
001501 (02000): File '<directory_name>' not found in stage '<stage_name>'.
---|---
Cause
|
There are multiple causes for this error:
* The file does not exist.
* The file name is the root of a directory. For example ` @stage_name/scripts/ ` .
Solution
|
Verify the name of the file ... | |
snowflake_docs/like_all_4_0.txt | _ `
The pattern(s) that the string is to be compared to. You must specify at least
one pattern.
**Optional:**
` _ escape_char _ `
Character(s) inserted in front of a wildcard character to indicate that the
wildcard should be interpreted as a regular character rather than as a
wildcard.
| |
snowflake_docs/bitmap_construct_agg_3_0.txt | Arguments ¶
` _ relative_position _ `
The relative position of a bit for a value (returned by the [
| |
snowflake_docs/show-classes_1_0.txt | SHOW CLASSES ¶
Lists all available classes.
See also:
| |
snowflake_docs/to_array_1_0.txt | TO_ARRAY ¶
semistructured.html | |
snowflake_docs/approximate_similarity_5_0.txt | Usage Notes ¶
* ` DISTINCT ` can be included as an argument, but has no effect.
* The input MinHash states must have MinHash arrays of equal length.
* The array length of the input MinHash states is an indicator of the quality of approximation.
the better the approximation. However, this value has a linear... | |
snowflake_docs/coalesce_3_0.txt | Usage Notes ¶
* If possible, pass in arguments of the same type. Avoid passing in arguments of different types.
For numeric string arguments that are not constants, if NUMBER(18,5) is not
conversion.html | |
snowflake_docs/create-row-access-policy_9_0.txt | Usage notes ¶
For more information on row access policies during query runtime, see [
* A given table or view column can be specified in either a masking policy signature or a row access policy signature. In other words, the same column cannot be specified in both a masking policy signature and a row access policy... | |
snowflake_docs/drop-budget_6_0.txt | label-access-control-overview-
privileges) at a minimum:
Privilege / Role
|
Object
|
Notes
---|---|---
OWNERSHIP privilege
|
Budget
|
The role used to drop a budget must be granted this privilege on the budget.
Note that operating on any object in a schema also requires the USAGE
privilege on the parent database ... | |
snowflake_docs/undrop-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
UNDROP TABLE
| |
snowflake_docs/nullif_3_0.txt | Arguments ¶
` _ expr1 _ `
Any general expression of any data type.
` _ expr2 _ `
Any general expression that evaluates to the same data type as ` _ expr1 _ `
.
| |
snowflake_docs/create-stage_24_0.txt | label-access-control-securable-objects) , see [ Overview of
| |
snowflake_docs/listagg_2_0.txt | Syntax ¶
**Aggregate function**
LISTAGG( [ DISTINCT ] <expr1> [, <delimiter> ] ) [ WITHIN GROUP ( <orderby_clause> ) ]
Copy
**Window function**
LISTAGG( [ DISTINCT ] <expr1> [, <delimiter> ] )
[ WITHIN GROUP ( <orderby_clause> ) ]
OVER ( [ PARTITION BY <expr2> ] )
Copy
| |
snowflake_docs/alter-security-integration-saml2_9_0.txt | Usage notes ¶
| |
snowflake_docs/drop-pipe_0_0.txt | /
1. Stage
7. File Format
13. External Volume
20. Pipe
26. Snowpipe Streaming
28. Loading and Unloading
loading) DROP PIPE
| |
snowflake_docs/commands-user-role_1_0.txt | User, Role, & Privilege Commands ¶
User, role, and privilege commands enable you to manage your users, roles, and
privileges.
| |
snowflake_docs/create-procedure_34_0.txt | Usage Notes ¶
* For all stored procedures:
* CREATE OR REPLACE _ <object> _ statements are atomic. That is, when an object is replaced, the old object is deleted and the new object is created in a single transaction.
* Regarding metadata:
Attention
Customers should ensure that no personal data (other th... | |
snowflake_docs/functions-table_6_0.txt | Using a Table Function ¶
| |
snowflake_docs/desc-search-optimization_2_0.txt | label-search-optimization-service-add-to-table) for
a specified table and its columns.
DESCRIBE can be abbreviated to DESC.
See also:
| |
snowflake_docs/external_tables_3_0.txt | Usage Notes ¶
* The view only displays objects for which the current role for the session has been granted access privileges. The view does not honor the MANAGE GRANTS privilege and consequently may show less information compared to a SHOW command when both are executed by a user who holds the MANAGE GRANTS privil... | |
snowflake_docs/get_measurement_table_3_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.
* The following role is required to view results for the _account budget_ :
guid... | |
snowflake_docs/hll_accumulate_5_0.txt | Examples ¶
This shows one step towards estimating the number of distinct postal codes in
province(s) of Canada. In this step, we calculate the approximate number of
distinct postal codes in Manitoba and store an internal representation of the
“state” of the calculation, which we can later combine with similar
inform... | |
snowflake_docs/infer_schema_6_1.txt | -----+
| col_bool | BOOLEAN | True | $1:col_bool::BOOLEAN | json/schema_A_1.json | 0 |
| col_date | DATE | True | $1:col_date::DATE | json/schema_A_1.json | 1 |
| col_ts | TIMESTAMP_NTZ | True | $1:col_ts::TIMESTAMP_NTZ | json/schema_... | |
snowflake_docs/boolnot_3_0.txt | Examples ¶
SELECT BOOLNOT(0), BOOLNOT(10), BOOLNOT(-3.79), BOOLNOT(NULL);
+------------+-------------+----------------+---------------+
| BOOLNOT(0) | BOOLNOT(10) | BOOLNOT(-3.79) | BOOLNOT(NULL) |
|------------+-------------+----------------+---------------|
| True | False | False ... | |
snowflake_docs/bitshiftleft_0_0.txt | /
reference/expressions-byte-bit) BITSHIFTLEFT
Categories:
| |
snowflake_docs/undrop_0_0.txt | /
| |
snowflake_docs/create-application-package_8_0.txt | label-access-control-securable-objects) , see [ Overview of
| |
snowflake_docs/current_schemas_5_0.txt | Examples ¶
Show the schemas that will be searched if a table or other database object is
referenced without a schema name:
>
> SELECT CURRENT_SCHEMAS();
>
>
> Copy
>
> Output:
>
>
> +-----------------------------------------+
> | CURRENT_SCHEMAS() |
> |--------------------... | |
snowflake_docs/show-user-functions_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/drop-network-policy_4_0.txt | Usage notes ¶
* Only the network policy owner (i.e. role with the OWNERSHIP privilege on the network policy) or higher can execute this command.
* Dropped network policies cannot be recovered; they must be recreated.
* A network policy cannot be dropped if it is currently assigned to an account, security int... | |
snowflake_docs/year_0_0.txt | /
1. Construction
5. Extraction
29. Addition & Subtraction
38. Truncation
42. Conversion
57. Time Zone
59. Alerts
date-time) YEAR
Categories:
| |
snowflake_docs/set_5_0.txt | Examples ¶
These two examples use constants:
SET V1 = 10;
SET V2 = 'example';
Copy
This example sets more than one variable at a time:
SET (V1, V2) = (10, 'example');
Copy
This example sets the variable to the value of a non-trivial expression that
uses a SQL query:
>
> SET id_threshold = (SELECT COU... | |
snowflake_docs/like_any_4_0.txt | _ `
The pattern(s) that the string is to be compared to. You must specify at least
one pattern.
**Optional:**
` _ escape_char _ `
Character(s) inserted in front of a wildcard character to indicate that the
wildcard should be interpreted as a regular character rather than as a
wildcard.
| |
snowflake_docs/data-types-geospatial_2_0.txt | Data Types ¶
Snowflake provides the following data types for geospatial data:
* The GEOGRAPHY data type, which models Earth as though it were a perfect sphere.
* The GEOMETRY data type, which represents features in a planar (Euclidean, Cartesian) coordinate system.
| |
snowflake_docs/execute-service_2_0.txt | Syntax ¶
EXECUTE SERVICE
IN COMPUTE POOL <compute_pool_name>
{
FROM @<stage>
SPECIFICATION_FILE = '<yaml_file_stage_path>'
|
FROM SPECIFICATION <specification_text>
}
[ EXTERNAL_ACCESS_INTEGRATIONS = ( <EAI_name> [ , ... ] ) ]
Copy
| |
snowflake_docs/complete-snowflake-cortex_2_0.txt | label-cortex-llm-availability) .
Given a prompt, generates a response (completion) using your choice of
supported language model.
| |
snowflake_docs/show-external-tables_1_0.txt | SHOW EXTERNAL TABLES ¶
Lists the external tables for which you have access privileges. The command
can be used to list external tables for the current/specified database or
schema, or across your entire account.
The output returns external table metadata and properties, ordered
lexicographically by database, schema,... | |
snowflake_docs/array_sort_7_0.txt | Examples ¶
The following example returns an ARRAY of numbers with the elements from an
constant) sorted in ascending order. The elements include a JSON NULL
(PARSE_JSON(‘null’)) and a SQL NULL.
Note that in the sorted ARRAY, JSON NULLs ( ` null ` ) and SQL NULLs ( `
undefined ` ) are the last elements.
SELECT ... | |
snowflake_docs/parse_url_4_0.txt | Returns ¶
The data type of the returned value is ` OBJECT ` . The object contains JSON.
| |
snowflake_docs/execute-alert_1_0.txt | EXECUTE ALERT ¶
schedule for the alert.
See also:
alert)
| |
snowflake_docs/as_binary_3_0.txt | Arguments ¶
` _ variant_expr _ `
An expression that evaluates to a value of type VARIANT.
| |
snowflake_docs/date-time-input-output_8_0.txt | Data Loading ¶
When used in data loading, the options specify the format of the date, time,
and timestamp strings in your staged data files. The options override the
DATE_INPUT_FORMAT, TIME_INPUT_FORMAT, or TIMESTAMP_INPUT_FORMAT parameter
settings.
The default for all these options is AUTO, meaning the [ COPY INTO ... | |
snowflake_docs/desc-materialized-view_5_0.txt | Examples ¶
Example setup:
>
> CREATE MATERIALIZED VIEW emp_view
> AS
> SELECT id "Employee Number", lname "Last Name", location "Home Base"
> FROM emp;
>
>
> Copy
Describe the materialized view:
>
> DESC MATERIALIZED VIEW emp_view;
>
>
> Copy
+-----------------+--------------+--------... | |
snowflake_docs/desc-projection-policy_8_0.txt | label-access-control-securable-objects) , see [ Overview of
For additional details on projection policy DDL and privileges, see [
projection-policy-manage) .
| |
snowflake_docs/parameters_105_0.txt | TWO_DIGIT_CENTURY_START ¶
Type :
Session — Can be set for Account » User » Session
Data Type :
Number
Description :
Specifies the “century start” year for 2-digit years (i.e. the earliest year
such dates can represent). This parameter prevents ambiguous dates when
importing or converting data with the ` YY ` dat... | |
snowflake_docs/datediff_3_0.txt | Arguments ¶
_For DATEDIFF:_
` _ date_or_time_part _ `
The unit of time. Must be one of the values listed in [ Supported Date and
(e.g. ` month ` ). The value can be a string literal or can be unquoted (e.g.
` 'month' ` or ` month ` ).
` _ date_or_time_expr1 _ ` , ` _ date_or_time_expr2 _ `
The values to compar... | |
snowflake_docs/replication_group_usage_history_3_0.txt | Usage Notes ¶
* Latency for the view may be up to 24 hours (1 day).
* The data is retained for 365 days (1 year).
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Columns
2. Usage Notes
Language : **English** | |
snowflake_docs/listing_auto_fulfillment_usage_history_3_0.txt | Columns ¶
Column Name
|
Data Type
|
Description
---|---|---
ORGANIZATION_NAME
|
VARCHAR
|
Name of the organization.
CONTRACT_NUMBER
|
VARCHAR
|
Snowflake contract number for the organization.
ACCOUNT_NAME
|
VARCHAR
|
Name of the secure share area where the usage occurred.
ACCOUNT_LOCATOR
|
VARCHAR
|
Locato... | |
snowflake_docs/rpad_3_0.txt | Arguments ¶
` _ base _ `
This must be a ` VARCHAR ` or ` BINARY ` value.
` _ length_expr _ `
The length should be an expression that evaluates to an integer. It should
specify:
* The number of UTF-8 characters to return if the input is ` VARCHAR ` .
* The number of bytes to return if the input is ` BINARY ... | |
snowflake_docs/show-packages-policies_0_0.txt | /
1. Authentication Policy
7. Network Policy
13. Network Rule
19. Packages Policy
25. Password Policy
31. Session Policy
37. Secret
POLICIES
| |
snowflake_docs/system_revoke_stage_privatelink_access_7_0.txt | Examples ¶
Revoke Snowflake to access the Private Endpoint in Azure:
>
> use role accountadmin;
>
> select
> SYSTEM$REVOKE_STAGE_PRIVATELINK_ACCESS('/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1');
>
>
> Copy
Was this page helpful?
Yes No
Inc. All Rights Reser... | |
snowflake_docs/to_time_0_0.txt | /
1. Construction
5. Extraction
29. Addition & Subtraction
38. Truncation
42. Conversion
57. Time Zone
59. Alerts
date-time) TO_TIME
Categories:
| |
snowflake_docs/parse_json_5_0.txt | Usage Notes ¶
* This function supports an input expression with a maximum size of 8 MB compressed.
* If the PARSE_JSON function is called with an empty string, or with a string containing only whitespace characters, then the function returns NULL (rather than throwing an error), even though an empty string is n... | |
snowflake_docs/revoke-role_4_0.txt | Examples ¶
REVOKE ROLE analyst FROM ROLE SYSADMIN;
Copy
REVOKE ROLE analyst FROM USER user1;
Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Parameters
3. Examples
Language : **English** | |
snowflake_docs/get_ignore_case_2_0.txt | Syntax ¶
Copy
**OBJECT (or VARIANT containing an OBJECT)**
GET_IGNORE_CASE( <object> , <field_name> )
GET_IGNORE_CASE( <variant> , <field_name> )
Copy
**MAP**
GET_IGNORE_CASE( <map> , <key> )
Copy
| |
snowflake_docs/external_functions_history_8_0.txt | Symptom: EXTERNAL_FUNCTIONS_HISTORY Returns “…invalid identifier…” ¶
Possible Cause :
You might not have put the function signature in single quotes. For example,
the following is wrong because it does not include the quotes:
select *
from table(information_schema.external_functions_history(
funct... | |
snowflake_docs/create-database_6_0.txt | Optional Parameters ¶
` TRANSIENT `
Specifies a database as transient. Transient databases do not have a Fail-safe
period so they do not incur additional storage costs once they leave Time
Travel; however, this means they are also not protected by Fail-safe in the
event of a data loss. For more information, see [ U... | |
snowflake_docs/st_simplify_1_0.txt | ST_SIMPLIFY ¶
geometry) object that represents a Line or Polygon, returns a simpler
approximation of the object. The function identifies and removes selected
vertices, resulting in a similar object that has fewer vertices.
For example, if the input object is a Polygon with 50 vertices, ST_SIMPLIFY
can return a simpl... | |
snowflake_docs/functions-regexp_4_0.txt | Specifying the Parameters for the Regular Expression ¶
Most regular expression functions support an optional ` _ parameters _ `
argument as the very last input. The ` _ parameters _ ` argument is a VARCHAR
string that specifies the matching behavior of the regular expression
function. The following parameters are ... | |
snowflake_docs/system_get_task_graph_config_1_0.txt | SYSTEM$GET_TASK_GRAPH_CONFIG ¶
Returns the value of the configuration string for the task currently executing
when invoked from the statement or stored procedure defined by the task.
| |
snowflake_docs/show-custom-classifiers_7_0.txt | label-access-control-overview-
privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
OWNERSHIP
|
The custom classification instance.
|
Users with the ACCOUNTADMIN admin role can list instances with this command.
OWNERSHIP is a special privilege on an object that is automatically granted to
the role that ... | |
snowflake_docs/data-types-structured_10_0.txt | Casting Semi-Structured OBJECTs and VARIANTs to Structured OBJECTs ¶
The following steps demonstrate how to cast a semi-structured OBJECT or
VARIANT to a structured OBJECT containing the ` city ` and ` state ` key-
value pairs (which are VARCHAR values):
SELECT
SYSTEM$TYPEOF(
CAST ({'city':'San M... | |
snowflake_docs/system_get_job_status_1_0.txt | SYSTEM$GET_JOB_STATUS ¶
Support for this feature is currently not in production and is available only
to selected accounts. Contact your Snowflake representative for more
information.
guide/snowpark-container-services/working-with-jobs) .
See also:
services/working-with-jobs.html | |
snowflake_docs/atan_0_0.txt | /
1. Arithmetic
4. Rounding and Truncation
13. Exponent and Root
21. Logarithmic
24. Trigonometric
42. Other
numeric) ATAN
Categories:
| |
snowflake_docs/system_reference_4_0.txt | label-reference-object-scope) .
If ` SESSION ` , specifies that the reference should be valid for the
duration for the session.
If ` PERSISTENT ` , specifies that the reference should be valid until the
persistent-reference) .
Note: If you need to specify the ` _ privilege _ ` argument, the ` _
reference_scope _ ` ... | |
snowflake_docs/div0_5_0.txt | Examples ¶
As shown in the following example, the DIV0 function performs division like
the division operator ( ` / ` ):
>
> SELECT 1/2;
> +----------+
> | 1/2 |
> |----------|
> | 0.500000 |
> +----------+
> SELECT DIV0(1, 2);
> +------------+
> | DIV0(1, 2) |
> |---... | |
snowflake_docs/current_schema_3_0.txt | Arguments ¶
None.
| |
snowflake_docs/st_geohash_3_0.txt | Arguments ¶
**Required:**
` _ geography_expression _ `
The argument must be an expression of type GEOGRAPHY.
` _ geometry_expression _ `
The argument must be an expression of type GEOMETRY with the SRID 4326.
**Optional:**
` _ precision _ `
The number of characters to use in the geohash. You can specify a value f... | |
snowflake_docs/remaining_balance_daily_legacy_1_0.txt | REMAINING_BALANCE_DAILY View (Legacy) ¶
The REMAINING_BALANCE_DAILY view in the ORGANIZATION_USAGE schema can be used
to return the daily remaining balance and on demand consumption daily for an
organization.
Important
This topic describes the legacy version of the REMAINING_BALANCE_DAILY view.
If your view contains... | |
snowflake_docs/h3_polygon_to_cells_strings_6_0.txt | Returns ¶
Returns an ARRAY of VARCHAR values for the hexadecimal IDs of the H3 cells
that have centroids contained in the specified input Polygon.
| |
snowflake_docs/parameters_60_0.txt | label-logging-event-table-log-level-effective)
.
| |
snowflake_docs/create-session-policy_5_0.txt | Optional parameters ¶
` SESSION_IDLE_TIMEOUT_MINS = <integer> `
For Snowflake Clients and programmatic clients, the number of minutes in which
a session can be idle before users must authenticate to Snowflake again. The
number of minutes can be any integer between ` 5 ` and ` 240 ` , inclusive.
If a value is not... | |
snowflake_docs/create-function_2_0.txt | Syntax ¶
The syntax for CREATE FUNCTION varies depending on which language you’re using
as the UDF handler.
| |
snowflake_docs/drop-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 TABLE
| |
snowflake_docs/create-resource-monitor_2_0.txt | Syntax ¶
CREATE [ OR REPLACE ] RESOURCE MONITOR [ IF NOT EXISTS ] <name> WITH
[ CREDIT_QUOTA = <number> ]
[ FREQUENCY = { MONTHLY | DAILY | WEEKLY | YEARLY | NEVER } ]
[ START_TIMESTAMP = { <timestamp> | IMMEDIATELY } ]
... | |
snowflake_docs/select_26_0.txt | Selecting a Single Column by Name ¶
This example shows how to look up an employee’s last name if you know their
ID.
>
> SELECT last_name FROM employee_table WHERE employee_ID = 101;
> +------------+
> | LAST_NAME |
> |------------|
> | Montgomery |
> +------------+
>
>
> Copy
| |
snowflake_docs/create-stream_4_0.txt | Required Parameters ¶
` _ name _ `
String that specifies the identifier (i.e. name) for the stream; must be
unique for the schema in which the stream 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... | |
snowflake_docs/date-time-input-output_11_0.txt | Supported Formats for AUTO Detection ¶
If instructed to do so, Snowflake automatically detects and processes specific
formats for date, time, and timestamp input strings. The following sections
describe the supported formats:
* Date Formats
* Time Formats
* Timestamp Formats
Attention
Some strings can match... | |
snowflake_docs/alter-tag_12_0.txt | Examples ¶
Rename the ` cost_center ` tag to ` cost_center_na ` , where ` na `
specifies North America.
>
> ALTER TAG cost_center RENAME TO cost_center_na;
>
>
> Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Parameters
3. Access control requirements
4.... | |
snowflake_docs/copy-into-table_3_0.txt | Required parameters ¶
` [ _ namespace _ .] _ table_name _ `
Specifies the name of the table into which data is loaded.
Namespace optionally specifies the database and/or schema for the table, in
the form of ` _ database_name _ . _ schema_name _ ` or ` _ schema_name _ `
. It is optional if a database and sc... | |
snowflake_docs/copy-into-table_22_0.txt | Loading using pattern matching ¶
Load files from a table’s stage into the table, using pattern matching to only
load data from compressed CSV files in any path:
>
> COPY INTO mytable
> FILE_FORMAT = (TYPE = 'CSV')
> PATTERN='.*/.*/.*[.]csv[.]gz';
>
>
> Copy
Where ` .* ` is interpreted as “zero or ... | |
snowflake_docs/system_get_privatelink_config_3_0.txt | Arguments ¶
None.
| |
snowflake_docs/desc-procedure_1_0.txt | DESCRIBE PROCEDURE ¶
Describes the specified stored procedure, including the stored procedure’s
signature (i.e. arguments), return value, language, and body (i.e.
definition).
See also:
procedures)
| |
snowflake_docs/desc-search-optimization_3_0.txt | Syntax ¶
DESC[RIBE] SEARCH OPTIMIZATION ON <table_name>;
Copy
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.