id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
snowflake_docs/grants_to_roles_1_0.txt | GRANTS_TO_ROLES view ¶
This Account Usage view can be used to query access control privileges that
have been granted to a role.
| |
snowflake_docs/alter-external-table_0_0.txt | /
2. Table
13. Dynamic Table
19. Event Table
24. External Table
30. Hybrid Table
36. Iceberg Table
43. View
49. Materialized View
56. Sequence
ALTER EXTERNAL TABLE
| |
snowflake_docs/st_centroid_5_0.txt | Usage Notes ¶
* Returns NULL if the input is NULL.
* If the GeometryCollection contains Polygons, LineStrings, and Points, ST_CENTROID uses the Polygons and ignores the LineStrings and Points in the collection.
* If the GeometryCollection contains LineStrings and Points, ST_CENTROID uses the LineStrings ... | |
snowflake_docs/alter-masking-policy_3_0.txt | Parameters ¶
` _ name _ `
Identifier for the masking policy; must be unique in the parent schema of the
policy.
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" ` ). Ide... | |
snowflake_docs/data-types-structured_42_0.txt | Removing Key-Value Pairs ¶
To return a new object that contains the key-value pairs from an existing
object with specific key-value pairs removed, call the [ OBJECT_DELETE
When calling this function, note the following:
* For the arguments that are keys, you must specify constants.
* If the specified key is not... | |
snowflake_docs/execute-service_3_0.txt | Required parameters ¶
` IN COMPUTE POOL _ compute_pool_name _ `
Specifies the name of the compute pool in your account on which to run the
service.
` FROM _ stage _ `
Specifies the Snowflake internal stage where the specification file is stored;
for example, ` @tutorial_stage ` .
` SPECIFICATION_FILE = ' _... | |
snowflake_docs/rank_5_1.txt | ------+
>
>
> Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Arguments
3. Usage Notes
4. Examples
Language : **English** | |
snowflake_docs/data-types-datetime_10_0.txt | Date and Time Formats ¶
All of these data types accept most reasonable non-ambiguous date, time, or
input-output.html | |
snowflake_docs/show-replication-groups_0_0.txt | /
4. Replication
11. Failover/Failback
18. Client Redirect
SHOW REPLICATION GROUPS
| |
snowflake_docs/st_geogfromgeohash_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_GEOGFROMGEOHASH
Categories:
| |
snowflake_docs/st_makepoint_4_0.txt | Returns ¶
The function returns a value of type GEOGRAPHY.
| |
snowflake_docs/current_date_5_0.txt | Examples ¶
Show the current date, time, and timestamp:
>
> SELECT CURRENT_DATE(), CURRENT_TIME(), CURRENT_TIMESTAMP();
>
>
> Copy
>
> Output:
>
>
> +----------------+----------------+--------------------------------+
> | CURRENT_DATE() | CURRENT_TIME() | CURRENT_TIMESTAMP() |
> |----... | |
snowflake_docs/create-external-access-integration_9_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/alter-connection_2_0.txt | Syntax ¶
ALTER CONNECTION <name> ENABLE FAILOVER TO ACCOUNTS <organization_name>.<account_name> [ , <organization_name>.<account_name> ... ]
[ IGNORE EDITION CHECK ]
ALTER CONNECTION <name> DISABLE FAILOVER [ TO ACCOUNTS <organization_name>.<account_name> [ , <organization_name>.<... | |
snowflake_docs/create-replication-group_1_0.txt | CREATE REPLICATION GROUP ¶
* Database and share replication are available to all accounts.
Creates a new replication group of specified objects in the system.
For more details see [ Introduction to replication and failover across
This command can be used to:
* Create a replication group in the source account to... | |
snowflake_docs/show-custom-classifiers_11_0.txt | Examples ¶
For a representative example, see the [ custom classification example
example) .
Was this page helpful?
Yes No
Inc. All Rights Reserved .
On this page
1. Syntax
2. Parameters
3. Access control requirements
4. Output
5. Examples
Language : **English** | |
snowflake_docs/add_resource_8_0.txt | Error Messages ¶
The following scenarios can help you troubleshoot issues that can occur when
adding resources to a custom budget.
Error
|
Unknown user-defined function <budget_db>.<budget_schema>.ADD_RESOURCE
---|---
Cause
|
The role you used to call this method does not have the ADMIN instance role.
Soluti... | |
snowflake_docs/show-session-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/ceil_6_0.txt | Examples ¶
This example demonstrates the function without the ` _ scale_expr _ `
parameter:
>
> SELECT CEIL(135.135), CEIL(-975.975);
> +---------------+----------------+
> | CEIL(135.135) | CEIL(-975.975) |
> |---------------+----------------|
> | 136 | -975 |
> +-------... | |
snowflake_docs/create-application-role_0_0.txt | /
1. APPLICATION
7. APPLICATION PACKAGE
12. APPLICATION ROLE
19. Additional Commands
CREATE APPLICATION ROLE
| |
snowflake_docs/show-procedures_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/last_query_id_4_0.txt | Usage Notes ¶
* Positive numbers start with the first query executed in the session. For example:
> * ` LAST_QUERY_ID(1) ` returns the first query.
>
> * ` LAST_QUERY_ID(2) ` returns the second query.
>
> * ` LAST_QUERY_ID(6) ` returns the sixth query.
>
> * Etc.
* Negative numbers start with... | |
snowflake_docs/timestamp_from_parts_2_0.txt | Syntax ¶
TIMESTAMP_FROM_PARTS( <year>, <month>, <day>, <hour>, <minute>, <second> [, <nanosecond> ] [, <time_zone> ] )
TIMESTAMP_FROM_PARTS( <date_expr>, <time_expr> )
Copy
TIMESTAMP_LTZ_FROM_PARTS( <year>, <month>, <day>, <hour>, <minute>, <second> [, <nanosecond>] )
Copy
TIMESTAMP_NTZ_FROM_PARTS( <... | |
snowflake_docs/strip_null_value_6_0.txt | Examples ¶
CREATE OR REPLACE TABLE mytable
(
SRC Variant
);
INSERT INTO mytable
SELECT PARSE_JSON(column1)
FROM VALUES
('{
"a": "1",
"b": "2",
"c": null
}')
, ('{
"a": "1",
"b": "2",
"c": "3"
}');
SELECT STRIP_NULL_VALU... | |
snowflake_docs/create-database-role_8_0.txt | label-security-custom-role) .
For general information about roles and privilege grants for performing SQL
overview.html | |
snowflake_docs/boolxor_agg_4_0.txt | Returns ¶
The data type of the returned value is BOOLEAN.
| |
snowflake_docs/system_set_return_value_4_1.txt | -----+
select distinct(RETURN_VALUE)
from table(information_schema.task_history())
where RETURN_VALUE is not NULL;
+-----------------------------------------------+
| RETURN_VALUE |
+-----------------------------------------------+
| The quick brown fox ... | |
snowflake_docs/drop-managed-account_1_0.txt | DROP MANAGED ACCOUNT ¶
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-Lodg... | |
snowflake_docs/grant-ownership_2_0.txt | Syntax ¶
-- Role
GRANT OWNERSHIP
{ ON { <object_type> <object_name> | ALL <object_type_plural> IN { DATABASE <db_name> | SCHEMA <schema_name> } }
| ON FUTURE <object_type_plural> IN { DATABASE <db_name> | SCHEMA <schema_name> }
}
TO ROLE <role_name>
[ { REVOKE | COPY } CURR... | |
snowflake_docs/constraints-alter_3_0.txt | Modifying Properties of a Constraint ¶
modify the properties of a constraint:
ALTER TABLE <table_name>
{ ALTER | MODIFY } { CONSTRAINT <name> | PRIMARY KEY | { UNIQUE | FOREIGN KEY } (<column_name>, [ ... ] ) }
{ [ [ NOT ] ENFORCED ] [ VALIDATE | NOVALIDATE ] [ RELY | NORELY ] };
Copy
Currently, ... | |
snowflake_docs/call-with_8_0.txt | Snowflake Scripting ¶
WITH <name> AS PROCEDURE ([ <arg_name> <arg_data_type> ]) [ , ... ] )
RETURNS { <result_data_type> | TABLE ( [ <col_name> <col_data_type> [ , ... ] ] ) }
LANGUAGE SQL
[ { CALLED ON NULL INPUT | { RETURNS NULL ON NULL INPUT | STRICT } } ]
AS '<procedure_definition>'
... | |
snowflake_docs/st_intersection_5_0.txt | Usage Notes ¶
* If any vertex of one input object is on the boundary of the other input object (excluding the vertices), the output might or might not include that vertex point.
For example, suppose that ` _ geography_expression_1 _ ` is ` POINT(1 1) `
and ` _ geography_expression_2 _ ` is ` LINESTRING(1 0, ... | |
snowflake_docs/merge_10_0.txt | Deterministic Results for INSERT ¶
Deterministic merges always complete without error.
If the MERGE contains a ` WHEN NOT MATCHED ... THEN INSERT ` clause, and
if there are no matching rows in the target, and if the source contains
duplicate values, then the target gets one copy of the row for ` each ` copy
i... | |
snowflake_docs/drop-role_2_0.txt | Syntax ¶
DROP ROLE [ IF EXISTS ] <name>
Copy
| |
snowflake_docs/show-external-volumes_5_0.txt | label-access-control-overview-privileges) at a minimum:
Privilege
|
Object
|
Notes
---|---|---
USAGE
|
External volume
|
To see a particular external volume in the output for SHOW EXTERNAL VOLUMES, a
role must have the USAGE privilege on that external volume.
For instructions on creating a custom role with a spec... | |
snowflake_docs/alter-stream_0_0.txt | /
1. Stream
7. Task
| |
snowflake_docs/create-aggregation-policy_0_0.txt | /
1. Aggregation Policy
7. Projection Policy
POLICY
| |
snowflake_docs/st_endpoint_5_0.txt | Usage Notes ¶
* If ` _ geography_or_geometry_expression _ ` is not a LineString, the function reports an error.
| |
snowflake_docs/create-clone_1_0.txt | CREATE _ <object> _ … CLONE ¶
Creates a copy of an existing object in the system. This command is primarily
considerations.html | |
snowflake_docs/data-types-geospatial_28_0.txt | Example 3: Querying the Names of Countries Overlapping the Line from
Berlin to San Francisco ¶
The following table compares the output of [ ST_INTERSECTS
ST_INTERSECTS Using . GEOGRAPHY Input
|
ST_INTERSECTS Using . GEOMETRY Input
---|---
SELECT name FROM world_countries WHERE
ST_INTERSECTS(border,... | |
snowflake_docs/date-time-examples_3_0.txt | Loading Timestamps with No Time Zone Attached ¶
In the following example, the [ TIMESTAMP_TYPE_MAPPING
timezone) parameter is set to America/Chicago time. If a set of incoming
timestamps has no time zone specified, then Snowflake loads those strings
assuming the timestamps represent local time in the set time zone.
... | |
snowflake_docs/system_get_job_status_5_0.txt | Returns ¶
Returns status information in a JSON array with one JSON object for each job
container. The JSON fields are:
* ` status ` . Job container status. Currently supported status values include: PENDING, FAILED, DONE, and UNKNOWN.
* ` message ` . Provides details about the specific status. For example, wh... | |
snowflake_docs/current_organization_name_5_0.txt | Example ¶
This shows how to call the CURRENT_ORGANIZATION_NAME function:
>
> SELECT CURRENT_ORGANIZATION_NAME();
>
>
> Copy
>
> Output:
>
>
> +-----------------------------+
> | CURRENT_ORGANIZATION_NAME() |
> |-----------------------------|
> | bazco |
> +--------... | |
snowflake_docs/st_collect_6_1.txt | COLLECT(G1), ST_COLLECT(G2)) |
> |--------------------------------------------|
> | { |
> | "geometries": [ |
> | { |
> | "coordinates": [ |
> | [ ... | |
snowflake_docs/show-tables_1_0.txt | SHOW TABLES ¶
Lists the tables for which you have access privileges, including dropped
tables that are still within the Time Travel retention period and, therefore,
can be undropped. The command can be used to list tables for the
current/specified database or schema, or across your entire account.
The output returns... | |
snowflake_docs/to_decimal_0_0.txt | /
1. Any Data Type
4. Text, Character, Binary Data Types
9. Numeric Data Types
18. Boolean Data Types
21. Date and Time Data Types
36. Semi-Structured Data Types
40. Geospatial Data Types
conversion) TO_DECIMAL
Categories:
| |
snowflake_docs/get_condition_query_uuid_5_0.txt | Usage Notes ¶
* This function is defined in the ALERT schema of the SNOWFLAKE database.
To call this function, you must use a role that is granted the [ SNOWFLAKE
function as a user with the role alert_role, execute:
GRANT DATABASE ROLE snowflake.alert_viewer TO ROLE alert_role;
Copy
| |
snowflake_docs/auto_refresh_registration_history_1_0.txt | AUTO_REFRESH_REGISTRATION_HISTORY ¶
This table function can be used to query the history of data files registered
in the metadata of specified objects and the credits billed for these
operations. The table function returns the billing history within a specified
date range for your entire Snowflake account.
Note
This... | |
snowflake_docs/as_object_2_0.txt | Syntax ¶
AS_OBJECT( <variant_expr> )
Copy
| |
snowflake_docs/desc_1_0.txt | DESCRIBE _ <object> _ ¶
Describes the details for the specified object.
DESCRIBE can be abbreviated to DESC.
See also:
| |
snowflake_docs/create-application-role_2_0.txt | label-native-apps-app-roles-about) for more information.
Note
Application roles are only valid within the context of an application object.
When creating an application role, you can grant privileges on objects to the
application role. Within the setup script, you can then grant the application
role to other applicatio... | |
snowflake_docs/count_if_1_0.txt | COUNT_IF ¶
Returns the number of records that satisfy a condition or NULL if no records
satisfy the condition.
See also:
| |
snowflake_docs/current_account_name_4_0.txt | Arguments ¶
None.
| |
snowflake_docs/strip_null_value_1_0.txt | STRIP_NULL_VALUE ¶
considerations.html | |
snowflake_docs/alter-application-package-release-directive_3_0.txt | Parameters ¶
` _ name _ `
Specifies the identifier for the application package. 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.
` MODIFY RELEASE DIRECTIVE _ release... | |
snowflake_docs/alter-security-integration-oauth-external_0_0.txt | /
1. General
7. API
10. Catalog
15. External access
18. Notification
21. Security
25. Storage
External OAuth
| |
snowflake_docs/split_to_table_3_0.txt | Arguments ¶
` _ string _ `
Text to be split.
` _ delimiter _ `
Text to split string by.
| |
snowflake_docs/revoke-privilege_3_0.txt | Required parameters ¶
` _ object_name _ `
Specifies the identifier for the object on which the privileges are revoked.
` _ object_type _ `
Specifies the type of object for schema-level objects.
* ` AGGREGATION POLICY `
* ` ALERT `
* ` AUTHENTICATION POLICY `
* ` DYNAMIC TABLE `
* ` EVENT TABLE `... | |
snowflake_docs/select_22_0.txt | Selecting All Columns, Replacing the Value of a Column, and Renaming the
Column ¶
This example shows how to select all columns in ` employee_table ` , replace
the value in the ` department_id ` column with the ID prepended with ` DEPT-
` , and rename the column:
SELECT * REPLACE ('DEPT-' || department_id AS de... | |
snowflake_docs/system_verify_ext_oauth_token_2_0.txt | Syntax ¶
SYSTEM$VERIFY_EXTERNAL_OAUTH_TOKEN( '<access_token>' )
Copy
| |
snowflake_docs/match_recognize_4_0.txt | DEFINE: Defining Symbols ¶
DEFINE <symbol1> AS <expr1> [ , <symbol2> AS <expr2> ]
Copy
Symbols (also known as “pattern variables”) are the building blocks of the
pattern.
A symbol is defined by an expression. If the expression evaluates to true for
a row, the symbol is assigned to that row. A row can be assigned... | |
snowflake_docs/current_user_2_0.txt | Syntax ¶
CURRENT_USER()
CURRENT_USER
Copy
| |
snowflake_docs/functions-aggregation_3_0.txt | Introductory Example ¶
The following example illustrates the difference between an aggregate function
The scalar function returns one output row for each input row, while the
aggregate function returns one output row for multiple input rows:
> The table contains the following data:
>
>
> SELECT x, y
> ... | |
snowflake_docs/create-application_8_0.txt | Usage Notes ¶
* To create an application directly from an application package, you must specify a default release directive in the application package.
* The application object differs from a database in the following ways:
* An application may not be transient.
* The role with the OWNERSHIP privilege... | |
snowflake_docs/if_0_0.txt | /
snowflake-scripting) IF
| |
snowflake_docs/create-user_13_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 [
* CREATE OR REPLACE _ <object> _ statem... | |
snowflake_docs/create-hybrid-table_3_0.txt | Syntax ¶
CREATE [ OR REPLACE ] HYBRID TABLE [ IF NOT EXISTS ] <table_name>
( <col_name> <col_type>
[
{
DEFAULT <expr>
/* AUTOINCREMENT (or IDENTITY) is supported only for numeric data types (NUMBER, INT, FLOAT, etc.) */
| { AUTOINCREMENT | IDENTITY }
... | |
snowflake_docs/ratio_to_report_0_0.txt | /
1. General
27. Rank-Related
39. Bitwise Aggregation
43. Boolean Aggregation
47. Hash Aggregation
49. Semi-structured Aggregation
52. Counting Distinct Values
55. Linear Regression
65. Statistics and Probability
... | |
snowflake_docs/create-view_1_0.txt | CREATE VIEW ¶
Creates a new view in the current/specified schema, based on a query of one or
more existing tables (or any other valid query expression).
See also:
| |
snowflake_docs/get_stage_location_6_0.txt | Examples ¶
Retrieve the URL for an external stage:
CREATE STAGE images_stage URL = 's3://photos/national_parks/us/yosemite/';
SELECT GET_STAGE_LOCATION(@images_stage);
+----------------------------------------------------------+
| GET_STAGE_LOCATION(@IMAGES_STAGE) |
+------... | |
snowflake_docs/st_within_4_0.txt | Returns ¶
BOOLEAN.
| |
snowflake_docs/st_xmax_2_0.txt | Syntax ¶
ST_XMAX( <geography_or_geometry_expression> )
Copy
| |
snowflake_docs/sqrt_1_0.txt | SQRT ¶
Returns the square-root of a non-negative numeric expression.
| |
snowflake_docs/create-compute-pool_3_0.txt | Required parameters ¶
` _ name _ `
String that specifies the identifier (that is, the name) for the compute pool;
it must be unique for your account.
In addition, the identifier must start with an alphabetic character and cannot
contain spaces or special characters unless the entire identifier string is
enclosed in... | |
snowflake_docs/st_area_1_0.txt | ST_AREA ¶
geospatial.html | |
snowflake_docs/alter-session-policy_8_0.txt | label-access-control-securable-objects) , see [ Overview of
For additional details on session policy DDL and privileges, see [ Managing
policy-mgmt) .
| |
snowflake_docs/alter-procedure_2_0.txt | Syntax ¶
ALTER PROCEDURE [ IF EXISTS ] <name> ( [ <arg_data_type> , ... ] ) RENAME TO <new_name>
ALTER PROCEDURE [ IF EXISTS ] <name> ( [ <arg_data_type> , ... ] ) SET LOG_LEVEL = '<log_level>'
ALTER PROCEDURE [ IF EXISTS ] <name> ( [ <arg_data_type> , ... ] ) SET TRACE_LEVEL = '<trace_level>'
ALTER ... | |
snowflake_docs/create-service_11_0.txt | Examples ¶
Create a service with two service instances running:
CREATE SERVICE echo_service
IN COMPUTE POOL tutorial_compute_pool
FROM @tutorial_stage
SPECIFICATION_FILE='echo_spec.yaml'
MIN_INSTANCES=2
MAX_INSTANCES=2
Copy
Was this page helpful?
Yes No
Inc. All Rights Reserved .... | |
snowflake_docs/typeof_7_0.txt | Examples ¶
Create a table that contains different types of data stored inside a VARIANT
column, then use the TYPEOF function to determine the data type of each one.
> Create and populate a table. Note that the INSERT statement uses the [
>
>>
>> CREATE OR REPLACE TABLE vartab (n NUMBER(2), v VARIANT);
>>
>> ... | |
snowflake_docs/regexp_substr_all_6_0.txt | Usage Notes ¶
For additional information on using regular expressions, see [ String
| |
snowflake_docs/grant-privilege-share_3_0.txt | Parameters ¶
` _ name _ `
Specifies the identifier for the object for which the specified privilege is
granted.
` _ schema_name _ `
Specifies the identifier for the schema for which the specified privilege is
granted for all tables.
` _ share_name _ `
Specifies the identifier for the share from which the specifie... | |
snowflake_docs/array_union_agg_4_0.txt | Returns ¶
The function returns an ARRAY containing the distinct values from the ARRAYs
in ` _ column _ ` . The values in the ARRAY are in no particular order, and
the order is not deterministic.
Note that this function uses [ multiset semantics
number of occurrences of an individual value in a single input ARRAY
de... | |
snowflake_docs/call-with_15_0.txt | Java, Python, or Scala ¶
` IMPORTS = ( ' _ stage_path_and_file_name_to_read _ ' [, ' _
stage_path_and_file_name_to_read _ ' ...] ) `
The location (stage), path, and name of the file(s) to import. You must set
the ` IMPORTS ` clause to include any files that your procedure depends on:
* If you are writ... | |
snowflake_docs/system_global_account_set_parameter_6_0.txt | Examples ¶
The following example enables replication for the ` account1 ` and ` account2
` accounts in the ` myorg ` organization:
SELECT SYSTEM$GLOBAL_ACCOUNT_SET_PARAMETER('myorg.account1',
'ENABLE_ACCOUNT_DATABASE_REPLICATION', 'true');
SELECT SYSTEM$GLOBAL_ACCOUNT_SET_PARAMETER('myorg.account2',
... | |
snowflake_docs/coalesce_6_0.txt | Examples ¶
SELECT column1, column2, column3, coalesce(column1, column2, column3)
FROM (values
(1, 2, 3 ),
(null, 2, 3 ),
(null, null, 3 ),
(null, null, null),
(1, null, 3 ),
(1, null, null),
(1, 2, null)
) v;
+---------+---------+... | |
snowflake_docs/object_delete_4_0.txt | Usage Notes ¶
* For the arguments that are keys, you must specify constants.
* If the specified key is not part of the OBJECT type definition, the call fails. For example, the following call fails because the OBJECT does not contain the specified key ` zip_code ` :
SELECT OBJECT_DELETE( {'city':'San M... | |
snowflake_docs/copy-into-table_4_0.txt | Additional cloud provider parameters ¶
` STORAGE_INTEGRATION = _ integration_name _ ` or . ` CREDENTIALS = (
_ cloud_specific_credentials _ ) `
Supported when the FROM value in the COPY statement is an external storage URI
rather than an external stage name.
Required only for loading from an external privat... | |
snowflake_docs/alter-account_2_0.txt | Syntax ¶
The syntax for ALTER ACCOUNT varies depending on whether you are modifying the
current account or a different account.
| |
snowflake_docs/lower_1_0.txt | LOWER ¶
Returns the input string ( ` _ expr _ ` ) with all characters converted to
lowercase.
| |
snowflake_docs/desc-compute-pool_4_0.txt | Output ¶
The command output provides compute pool properties and metadata in the
following columns:
Column
|
Description
---|---
` name `
|
Compute pool name.
` state `
|
Current state of the compute pool.
` min_nodes `
|
Minimum number of nodes in the compute pool.
` max_nodes `
|
Maximum number of no... | |
snowflake_docs/drop-external-volume_4_0.txt | Access control requirements ¶
access-control-overview-roles) used to execute this SQL command must have the
overview.html | |
snowflake_docs/current_warehouse_0_0.txt | /
1. General
14. Session
29. Session Object
41. Alert
context) CURRENT_WAREHOUSE
Categories:
| |
snowflake_docs/alter-database_0_0.txt | /
1. Database
9. Schema
17. Share
database) ALTER DATABASE
| |
snowflake_docs/create-task_10_0.txt | | | | | _ day of week (0-6, SUN-SAT, or L)
| |
snowflake_docs/create-catalog-integration_11_0.txt | Usage notes ¶
* You cannot modify an existing catalog integration; use a CREATE OR REPLACE CATALOG INTEGRATION statement instead.
* 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 ente... | |
snowflake_docs/max_1_0.txt | MAX ¶
Returns the maximum value for the records within ` _ expr _ ` . NULL values
are ignored unless all the records are NULL, in which case a NULL value is
returned.
See also :
| |
snowflake_docs/asin_2_0.txt | Syntax ¶
ASIN( <real_expr> )
Copy
| |
snowflake_docs/desc-materialized-view_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 MATERIALIZED VIEW
| |
snowflake_docs/data-types-logical_8_0.txt | Conversion from Boolean ¶
| |
snowflake_docs/dateadd_7_0.txt | Examples ¶
Add years to a date:
>
> SELECT TO_DATE('2013-05-08') AS v1, DATEADD(year, 2,
> TO_DATE('2013-05-08')) AS v;
>
>
> Copy
>
> Output:
>
>
> +------------+------------+
> | V1 | V |
> |------------+------------|
> | 2013-05-08 | 2015-05-08 |
> +------------+----... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.