id
stringlengths
16
145
text
stringlengths
1
179k
title
stringclasses
1 value
snowflake_docs/kurtosis_4_0.txt
Returns ¶ Returns DOUBLE if the input data type is DOUBLE/FLOAT. Returns DECIMAL if the input data type is another numeric data type.
snowflake_docs/chr_5_0.txt
Examples ¶ This example demonstrates the function behavior for some valid Unicode code points: > > SELECT column1, CHR(column1) > FROM (VALUES(83), (33), (169), (8364), (0), (null)); > > > Copy This shows the output for the preceding query: > > +---------+--------------+ > | COLUMN1 | CHR(COLUMN1) ...
snowflake_docs/system_snowpipe_streaming_update_channel_offset_token_3_0.txt
Arguments ¶ ` _ dbName _ ` Name of the database in which the channel is stored. ` _ schemaName _ ` Name of the schema in which the channel is stored. ` _ tableName _ ` Name of the table where the channel is mapped to. ` _ channelName _ ` Name of the channel. ` _ new_offset_token _ ` The new offset token.
snowflake_docs/remove_4_0.txt
Optional parameters ¶ ` PATTERN = ' _ regex_pattern _ ' ` Specifies a regular expression pattern for filtering files to remove. The command lists all files in the specified ` _ path _ ` and applies the regular expression pattern on each of the files found.
snowflake_docs/show-channels_4_0.txt
Output ¶ The command output provides pipe properties and metadata in the following columns: Column | Description ---|--- created_on | Date and time when the channel is created. name | Name of the channel. database_name | Database in which the channel is stored. schema_name | Schema in which the channel is ...
snowflake_docs/commands-database_3_0.txt
Schema ¶
snowflake_docs/desc-service_5_0.txt
label-snowpark-containers-service-communicating) ). ` external_access_integrations ` | List of external access integrations associated with the service. For more services/additional-considerations-services-jobs.html
snowflake_docs/result_scan_2_0.txt
Syntax ¶ RESULT_SCAN ( { '<query_id>' | LAST_QUERY_ID() } ) Copy
snowflake_docs/current_version_6_0.txt
Examples ¶ This shows the version of Snowflake on which the query is run: > > SELECT CURRENT_VERSION(); > > > Copy > > Output: > > > +-------------------+ > | CURRENT_VERSION() | > |-------------------| > | 7.32.1 | > +-------------------+ > > > Copy Was this page helpful? ...
snowflake_docs/alter-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/listing-access-history_15_0.txt
Aggregate View of Access Over Time By Consumer ¶ This example is similar to Aggregate View of Access Over Time , broken down by consumer. select lah.exchange_name, lah.listing_global_name, lah.share_name, los.value:"objectName"::string as object_name, coalesce(los.value:"objectDom...
snowflake_docs/st_geometryfromwkt_7_0.txt
Usage Notes ¶ * Issues an error if the input cannot be parsed as WKT or EWKT. * For WKT input, if the ` _ srid _ ` argument is not specified, the resulting GEOMETRY object has the SRID set to 0.
snowflake_docs/alter-integration_2_0.txt
Syntax ¶ ALTER <integration_type> INTEGRATION <object_name> <actions> Copy Where ` _ actions _ ` are specific to the object type. For specific syntax, usage notes, and examples, see: Was this page helpful? Yes No Inc. All Rights Reserved . On this page 1. Syntax Language : **English**
snowflake_docs/grant-privilege_15_0.txt
Database roles ¶ Grant the SELECT privilege on all existing tables in the ` mydb.myschema ` schema to the ` mydb.dr1 ` database role: > > GRANT SELECT ON ALL TABLES IN SCHEMA mydb.myschema > TO DATABASE ROLE mydb.dr1; > > > Copy Grant all privileges on two UDFs in the ` mydb.myschema ` schema to the `...
snowflake_docs/is_time_1_0.txt
IS_TIME ¶ Verifies whether a VARIANT value contains a TIME value. See also:
snowflake_docs/create-replication-group_16_0.txt
label-access-control-overview-privileges) at a minimum: Privilege | Object | Notes ---|---|--- CREATE REPLICATION GROUP | Account | Only the ACCOUNTADMIN role has this privilege by default. The privilege can be granted to additional roles as needed. MONITOR | Database | To add a database to a replication group, t...
snowflake_docs/application-state-view_2_1.txt
p when the most recent upgrade attempt was attempted. UPGRADE_FAILURE_REASON | VARCHAR | A description of the failure if the previous application upgrade failed. LISTING_NAME | VARCHAR | The name of the listing on the data exchange from which the application was installed. LISTING_DISPLAY_NAME | VARCHAR | The dis...
snowflake_docs/system_unblock_internal_stages_public_access_5_0.txt
Usage Notes ¶ * Only account administrators (i.e. users with the ACCOUNTADMIN role) can execute this function. * This function can take a few minutes to finish executing. * This function can be used with Snowflake accounts on Azure only. AWS and Google Cloud Platform are not supported.
snowflake_docs/encrypt_raw_3_1.txt
nsitive. The ` padding ` specifies how to pad messages whose length is not a multiple of the block size. Padding is applicable only for ECB and CBC modes; padding is ignored for other modes. The possible values for padding are: > * ` 'PKCS' ` : Uses PKCS5 for block padding. > > * ` 'NONE' ` : No padding. The use...
snowflake_docs/create-role_0_0.txt
/ 1. User Management 7. Database Role Management 16. Account-level Role Management 25. Privilege Management CREATE ROLE
snowflake_docs/try_hex_decode_string_1_0.txt
TRY_HEX_DECODE_STRING ¶ NULL value if an error occurs during decoding.
snowflake_docs/startswith_4_0.txt
Collation Details ¶ specification) of all input arguments must be compatible. This function does not support the following collation specifications: * ` pi ` (punctuation-insensitive). * ` cs-ai ` (case-sensitive, accent-insensitive). Note To use this function with a column that has the ` upper ` or ` lower...
snowflake_docs/snowflake-db-classes_8_0.txt
Instance Roles ¶ Roles are defined in the class and instantiated in the instance as an _instance role_ . An instance role can be granted to a role in your account to enable access to instance methods. For example, if you have an ANOMALY_DETECTION instance ` my_anomaly_detector ` in schema ` my_db.my_schema ` , you ...
snowflake_docs/data-types-datetime_9_0.txt
Supported Calendar ¶ Snowflake uses the Gregorian Calendar for all dates and timestamps. The Gregorian Calendar starts in the year 1582, but recognizes prior years, which is important to note because Snowflake does not adjust dates prior to 1582 (or calculations involving dates prior to 1582) to match the Julian C...
snowflake_docs/system_get_job_logs_7_0.txt
Examples ¶ This function retrieves job logs from the “main” container of the specified job: SELECT SYSTEM$GET_JOB_LOGS('01acc747-0000-60c0-0000-0e99001fd07a', 'main'); Copy Sample output: +------------------------------------------------------------------------------------------------------------------------...
snowflake_docs/st_collect_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_COLLECT Categories:
snowflake_docs/alter-aggregation-policy_7_0.txt
label-security-custom-role) . For general information about roles and privilege grants for performing SQL overview.html
snowflake_docs/connect-by_6_0.txt
112 bolt', 5, 112, 11), >> ('brake', 1, 113, 11), >> ('brake pad', 1, 1131, 113), >> ('engine', 1, 12, 1), >> ('piston', 4, 121, 12), >> ('cylinder block', 1, 122, 12), >> ('
snowflake_docs/st_aswkt_4_0.txt
Returns ¶ A VARCHAR.
snowflake_docs/desc-secret_0_0.txt
/ 1. Authentication Policy 7. Network Policy 13. Network Rule 19. Packages Policy 25. Password Policy 31. Session Policy 37. Secret
snowflake_docs/avg_4_0.txt
Usage Notes ¶ * When passed a VARCHAR expression, this function implicitly casts the input to floating point values. If the cast cannot be performed, an error is returned. * When this function is called as a window function (i.e. with an OVER clause): * If the OVER clause contains an ORDER BY subclause, th...
snowflake_docs/regexp_substr_all_2_0.txt
Syntax ¶ REGEXP_SUBSTR_ALL( <subject> , <pattern> [ , <position> [ , <occurrence> [ , <regex_parameters> [ , <group_num> ] ] ] ] ) Copy
snowflake_docs/external_table_files_2_0.txt
Syntax ¶ EXTERNAL_TABLE_FILES( TABLE_NAME => '<string>' ) Copy
snowflake_docs/where_5_0.txt
Examples ¶
snowflake_docs/functions-semistructured_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
snowflake_docs/grouping_id_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_makegeompoint_2_0.txt
Syntax ¶ ST_MAKEGEOMPOINT( <longitude> , <latitude> ) Copy
snowflake_docs/complete-snowflake-cortex_15_0.txt
Controlling Temperature and Tokens ¶ This example illustrates the use of the function’s ` _ options _ ` argument to control the inference hyperparameters in a single response. Note that in this form of the function, the prompt must be provided as an array, since this form supports multiple prompts and responses. ...
snowflake_docs/check_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.
snowflake_docs/create-table_12_1.txt
LE_EXTENSION = ' _ string _ ' | NONE ` Use : Data unloading only Definition : Specifies the extension for files unloaded to a stage. Accepts any extension. The user is responsible for specifying a file extension that can be read by any desired software or services. Default : null, meaning the file extension i...
snowflake_docs/try_to_timestamp_7_0.txt
Examples ¶ This demonstrates usage of ` TRY_TO_TIMESTAMP ` : > > SELECT TRY_TO_TIMESTAMP('2018-09-15 12:30:00'), > TRY_TO_TIMESTAMP('Invalid'); > > +-----------------------------------------+-----------------------------+ > | TRY_TO_TIMESTAMP('2018-09-15 12:30:00') | TRY_TO_TIMESTAMP('INVALID') > | > > |---...
snowflake_docs/sql-format-models_11_0.txt
` in place of digits. The exponent indicators print either capital ` E ` or lowercase ` e ` depending on the case of the first letter in the format element. The ` X ` format element works like ` 9 ` , except that hexadecimal digits ` 0-9A-F ` are printed. Currently, hexadecimal fractions are not supported. Simil...
snowflake_docs/undrop-schema_3_0.txt
Parameters ¶ ` _ name _ ` Specifies the identifier for the schema to restore. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive.
snowflake_docs/operators-logical_0_0.txt
/
snowflake_docs/show-procedures_6_0.txt
Examples ¶ Show all procedures: > > SHOW PROCEDURES; > > > Copy This example shows how to use ` SHOW PROCEDURE ` on a stored procedure that has a parameter. This also shows how to limit the list of procedures to those that match the specified regular expression. > > SHOW PROCEDURES LIKE 'area_of_%'; > > ...
snowflake_docs/references_11_0.txt
Supported object types and privileges for references ¶ The following table lists the object types that a reference can include, the type of reference that can be created, and the privileges allowed for each object: Object Type | Transient | Persistent | Privileges Allowed | Default Privilege ---|---|---|---|--- ...
snowflake_docs/try_to_geography_2_0.txt
Syntax ¶ Use one of the following: TRY_TO_GEOGRAPHY( <varchar_expression> [ , <allow_invalid> ] ) TRY_TO_GEOGRAPHY( <binary_expression> [ , <allow_invalid> ] ) TRY_TO_GEOGRAPHY( <variant_expression> [ , <allow_invalid> ] ) Copy
snowflake_docs/create-application_6_0.txt
Access Control Requirements ¶ access-control-overview-roles) used to execute this SQL command must have the overview.html
snowflake_docs/stddev_8_0.txt
Create and Load the menu_items Table ¶ To create and insert rows into the ` menu_items ` table that is used in some function examples, run the following SQL commands. (This table contains 60 rows. It is based on, but not identical to, the ` menu ` table in the [ Tasty Bytes sample database .) CREATE OR REPLACE...
snowflake_docs/create-application-role_5_0.txt
Optional parameters ¶ ` COMMENT = ' _ string_literal _ ' ` Specifies a comment for the application role. Default: No value
snowflake_docs/commands-snowpark-container-services_2_0.txt
Image registry and repository ¶
snowflake_docs/show-replication-databases_8_0.txt
Examples ¶ Show all the replication databases whose name starts with ` mydb ` : SHOW REPLICATION DATABASES LIKE 'mydb%'; Copy Show all the secondary databases for the ` myorg.account1.mydb1 ` org, account, and primary database, respectively: SHOW REPLICATION DATABASES WITH PRIMARY myorg.account1.mydb1; Cop...
snowflake_docs/get_presigned_url_2_0.txt
authorization) . For more information about accessing an Azure container, see [ Configuring an
snowflake_docs/desc-external-volume_2_0.txt
label-tables-iceberg-external-volume-def) . DESCRIBE can be abbreviated to DESC. See also:
snowflake_docs/create-network-policy_6_0.txt
label-access-control-overview-privileges) at a minimum: Privilege | Object | Notes ---|---|--- CREATE NETWORK POLICY | Account | Only the SECURITYADMIN role, or a higher role, has this privilege by default. The privilege can be granted to additional roles as needed. For instructions on creating a custom role with...
snowflake_docs/desc-projection-policy_4_0.txt
Parameters ¶ ` _ name _ ` Specifies the identifier for the projection policy to describe. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. .
snowflake_docs/data-types-unsupported_0_0.txt
/ data-types) Unsupported
snowflake_docs/set_email_notifications_6_0.txt
Access Control Requirements ¶ * The following minimum privileges and roles are required to execute this method for _custom budgets_ : * A role granted the USAGE privilege on the database and schema that contains the budget instance. * To execute this method for the _account budget_ : guide/budgets.html
snowflake_docs/commands-function_2_0.txt
User-Defined Function (UDF) ¶
snowflake_docs/array_size_0_0.txt
/ 1. JSON and XML Parsing 9. Array/Object Creation and Manipulation 43. Map Creation and Manipulation 51. Extraction 58. Conversion/Casting 82. Type Predicates Categories: semistructured) (Array/Object)
snowflake_docs/st_perimeter_8_0.txt
GEOMETRY Examples ¶ The following example demonstrates how to use the ST_PERIMETER function. > > SELECT ST_PERIMETER(g), ST_ASWKT(g) > FROM (SELECT TO_GEOMETRY(column1) AS g > FROM VALUES ('POINT(1 1)'), > ('LINESTRING(0 0, 1 1)'), > ('POLYGON((0 0, 0 1, 1 1, 1 0, 0 ...
snowflake_docs/query_acceleration_eligible_3_0.txt
Usage Notes ¶ * Latency for the view may be up to 180 minutes (3 hours). * Query acceleration is supported for the following SQL commands: > * SELECT > > * INSERT (when the statement contains a SELECT statement) > > * CREATE TABLE AS SELECT (CTAS) Was this page helpful? Yes No Inc. All Rights Res...
snowflake_docs/system_get_directory_table_status_3_0.txt
Arguments ¶ **Optional:** ` ' _ stage_name _ ' ` Stage for which you want to retrieve the directory table consistency status. When you specify a stage name, the function returns a list with a single record for the directory table on that stage.
snowflake_docs/show-replication-groups_1_0.txt
SHOW REPLICATION GROUPS ¶ * Database and share replication are available to all accounts. * Lists each primary or secondary replication or failover group in this account. * Lists primary replication and failover groups in other accounts enabled for replication to this account. * Lists secondary replicatio...
snowflake_docs/asof-join_10_0.txt
Inner Join to a Third Table ¶ The following example adds a third companies table to the join in order to pick the company name for each stock symbol. You can use a regular INNER JOIN with an ON condition (or some other standard join syntax) to add the third table. However, note that ` USING(stock_symbol) ` would no...
snowflake_docs/drop-tag_0_0.txt
/ 1. Column-level Security 7. Row Access Policy 13. Tag TAG
snowflake_docs/drop-aggregation-policy_6_0.txt
label-access-control-overview-privileges) at a minimum: Privilege | Object | Notes ---|---|--- OWNERSHIP | Aggregation policy | 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 G...
snowflake_docs/ltrim_8_0.txt
000000123', '0
snowflake_docs/update_1_0.txt
UPDATE ¶ Updates specified rows in the target table with new values.
snowflake_docs/bitand_2_0.txt
Syntax ¶ BITAND( <expr1> , <expr2> ) Copy
snowflake_docs/right_7_0.txt
Examples ¶ SELECT RIGHT('ABCDEFG', 3); ---------------------+ RIGHT('ABCDEFG', 3) | ---------------------+ EFG | ---------------------+ Copy Was this page helpful? Yes No Inc. All Rights Reserved . On this page 1. Syntax 2. Arguments 3. Returns 4. Usage Notes ...
snowflake_docs/parameters_7_0.txt
Viewing the Parameters and Their Values ¶ which displays a list of the parameters, along with the current and default values for each parameter. The command can be called with different options to determine the type of parameter displayed.
snowflake_docs/create-application_4_0.txt
Optional Parameters ¶ ` COMMENT = ' _ string_literal _ ' ` Specifies a comment for the application. Default: No value ` DEBUG_MODE = { TRUE | FALSE } ` apps/installing-testing-application.html
snowflake_docs/st_transform_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_TRANSFORM Categories:
snowflake_docs/show-regions_5_0.txt
Output ¶ The command output provides region properties and metadata in the following columns. The command output for organizations that span multiple [ region includes an additional ` region_group ` column. Column | Description ---|--- ` region_group ` | groups) where the account is located. **Note** : This co...
snowflake_docs/show-regions_1_0.txt
SHOW REGIONS ¶ can be created. This command returns the Snowflake Region name, the cloud provider (AWS, Google Cloud Platform, or Microsoft Azure) that hosts the account, and the cloud provider’s name for the region. See also:
snowflake_docs/system_convert_pipes_sqs_to_sns_5_0.txt
Usage Notes ¶ * Before you call this function, update the access policy for your topic with the following permissions: * Allow the Snowflake IAM user to subscribe the SQS queue that is in your _target_ account to your topic. * Allow Amazon S3 to publish event notifications from your bucket to the SNS top...
snowflake_docs/show-replication-databases_6_0.txt
Output ¶ The command output provides primary and secondary database properties and metadata in the following columns. The command output for organizations that identifier.html
snowflake_docs/unset_1_0.txt
UNSET ¶ See also:
snowflake_docs/show-databases-in-failover-group_0_0.txt
/ 4. Replication 11. Failover/Failback 18. Client Redirect SHOW DATABASES IN FAILOVER GROUP
snowflake_docs/class_instance_procedures_4_0.txt
Examples ¶ Retrieve the procedures for instances in the ` mydatabase ` database: SELECT procedure_name, procedure_instance_name, argument_signature, data_type AS return_value_data_type FROM mydatabase.INFORMATION_SCHEMA.CLASS_INSTANCE_PROCEDURES; Copy Was this page helpf...
snowflake_docs/alter-replication-group_2_0.txt
label-replication-and-failover-groups) . From the source account, you can perform the following actions: * Rename the replication group. * Reset the list of specified object types enabled for replication. * Set or update the replication schedule for automatic refresh of secondary replication groups. * Add or...
snowflake_docs/show-application-roles_1_0.txt
SHOW APPLICATION ROLES ¶ Available This feature is not supported on Google Cloud Platform. Lists all the application roles in a specified application. See also:
snowflake_docs/alter-table_27_0.txt
Dropping Columns ¶ The following statement drops the column ` a2 ` : ALTER TABLE t1 DROP COLUMN a2; Copy DESC TABLE t1; Copy +------+--------------+--------+-------+---------+-------------+------------+-------+------------+---------+-------------+ | name | type | kind | null? | default | p...
snowflake_docs/create-authentication-policy_1_0.txt
CREATE AUTHENTICATION POLICY ¶ Available to all accounts. Creates a new authentication policy in the current or specified schema or replaces an existing authentication policy. You can use authentication policies to define authentication controls and security requirements for accounts or users. See also:
snowflake_docs/object_privileges_1_0.txt
OBJECT_PRIVILEGES view ¶ This Information Schema view displays a row for each access privilege granted for all objects defined in your account. It includes the privileges displayed For more information about privileges and their impact on object access, see [ overview) . See also:
snowflake_docs/alter-stage_8_3.txt
haracter ( ` ' ` ), or double quote character ( ` " ` ). To use the single quote character, use the octal or hex representation ( ` 0x27 ` ) or the double single-quoted escape ( ` '' ` ). When a field contains this character, escape it using the same character. For example, if the value is the double quote characte...
snowflake_docs/identifiers_1_0.txt
Object Identifiers ¶ An identifier is a string of characters (up to 255 characters in length) used to identify first-class Snowflake “named” objects, including table columns: * Identifiers are specified at object creation time and then are referenced in queries and DDL/DML statements. * Identifiers can also be ...
snowflake_docs/alter-warehouse_6_0.txt
label-query-acceleration-scale-factor) > . > > Valid values : > > > ` 0 ` to ` 100 ` > > Default : > > > ` 8 ` ` UNSET ... ` > Specifies one (or more) properties and/or parameters to unset for the > database, which resets them to the defaults: > > * ` _ property_name _ ` > > * ` _ param_name _ ` > > ...
snowflake_docs/snowflake-db-classes_5_0.txt
Update Your Search Path ¶ Classes are objects in a schema in the SNOWFLAKE database. You must use the fully qualified class name (for example, SNOWFLAKE.ML.ANOMALY_DETECTION) to execute the SQL commands that follow in this topic. Alternatively, you can search-path) to include the database and schema for a class, the...
snowflake_docs/array_to_string_0_0.txt
/ 1. JSON and XML Parsing 9. Array/Object Creation and Manipulation 43. Map Creation and Manipulation 51. Extraction 58. Conversion/Casting 82. Type Predicates Categories: semistructured) (Array/Object)
snowflake_docs/system_show_oauth_client_secrets_1_0.txt
SYSTEM$SHOW_OAUTH_CLIENT_SECRETS ¶ Returns the client secrets in a string. The client ID and a client secret must be included in the authorization header to the OAuth token endpoint.
snowflake_docs/max_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/array_union_agg_2_0.txt
Syntax ¶ ARRAY_UNION_AGG( <column> ) Copy
snowflake_docs/desc-packages-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/pivot_1_0.txt
PIVOT ¶ Rotates a table by turning the unique values from one column in the input expression into multiple columns and aggregating results where required on any clause after the table name or subquery. The operator supports the built-in aggregate functions [ AVG PIVOT can be used to transform a narrow table (e.g. ` ...
snowflake_docs/alter-security-integration-oauth-external_3_0.txt
Parameters ¶ ` _ name _ ` Identifier for the integration 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 ... ` Specifies one or more properties/parameters to set for the int...
snowflake_docs/map_size_1_0.txt
MAP_SIZE ¶ available to all accounts.
snowflake_docs/lpad_2_0.txt
Syntax ¶ LPAD(<base>, <length_expr> [, <pad>]) Copy
snowflake_docs/show-projection-policies_3_0.txt
Syntax ¶ SHOW PROJECTION POLICIES [ LIKE '<pattern>' ] [ IN { ACCOUNT | DATABASE [ <database_name> ] | SCHEMA [ <schema_name>...