id
stringlengths
16
145
text
stringlengths
1
179k
title
stringclasses
1 value
snowflake_docs/show-external-tables_6_0.txt
Examples ¶ Show all the external tables whose name starts with ` line ` that you have privileges to view in the ` tpch.public ` schema: > > SHOW EXTERNAL TABLES LIKE 'line%' IN tpch.public; > > > Copy Was this page helpful? Yes No Inc. All Rights Reserved . On this page 1. Syntax 2. Parameters 3. ...
snowflake_docs/alter-security-integration-saml2_0_0.txt
/ 1. General 7. API 10. Catalog 15. External access 18. Notification 21. Security 25. Storage
snowflake_docs/create-image-repository_7_0.txt
label-access-control-securable-objects) , see [ Overview of
snowflake_docs/as_boolean_1_0.txt
AS_BOOLEAN ¶ Casts a VARIANT value to a BOOLEAN value. See also:
snowflake_docs/desc-authentication-policy_0_0.txt
/ 1. Authentication Policy 7. Network Policy 13. Network Rule 19. Packages Policy 25. Password Policy 31. Session Policy 37. Secret AUTHENTICATION POLICY
snowflake_docs/create-security-integration-oauth-snowflake_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/drop-stage_5_0.txt
Examples ¶ > > DROP STAGE my_stage; > > --------------------------------+ > status | > --------------------------------+ > MY_STAGE successfully dropped. | > --------------------------------+ > > > Copy Was this page helpful? Yes No Inc. All Rights Reserved . ...
snowflake_docs/create-stage_14_1.txt
s only when loading JSON data into separate columns using the MATCH_BY_COLUMN_NAME copy option. Default : ` FALSE ` ` NULL_IF = ( ' _ string1 _ ' [ , ' _ string2 _ ' , ... ] ) ` Use : Data loading only Definition : String used to convert to and from SQL NULL. Snowflake replaces these strings in the d...
snowflake_docs/listing-access-history_12_0.txt
, "objectName": "DATABASE_2.PUBLIC.TABLE1" } ] Copy
snowflake_docs/list_5_0.txt
Output ¶ Returns a JSON object with the following structure: { "semantic_category_name": { "col_name_regex": "string", "description": "string", "privacy_category": "string", "value_regex": "string" } } Copy Each field value corresponds to the value that you specif...
snowflake_docs/use-role_1_0.txt
USE ROLE ¶ Specifies the active/current primary role for the session. The currently- active primary role sets the context that determines whether the current user or perform any other SQL action. Note that authorization to perform any SQL action other than creating objects can be provided by secondary roles. guide...
snowflake_docs/undrop-database_0_0.txt
/ 1. Database 9. Schema 17. Share database) UNDROP DATABASE
snowflake_docs/regexp_substr_2_0.txt
Syntax ¶ REGEXP_SUBSTR( <subject> , <pattern> [ , <position> [ , <occurrence> [ , <regex_parameters> [ , <group_num> ] ] ] ] ) Copy
snowflake_docs/create-model_4_0.txt
Access Control Requirements ¶ access-control-overview-roles) used to execute this SQL command must have the overview.html
snowflake_docs/functions-analytic_20_0.txt
General Tips ¶ * The syntax shows all subclauses of the ` OVER ` clause as optional for window functions. This is by design (i.e. you can use ` OVER ` without any subclauses inside the parentheses). This can be useful in specific scenarios (e.g. turning off parallel processing). > * If a query uses more than ...
snowflake_docs/put_0_0.txt
/
snowflake_docs/functions-analytic_7_0.txt
Introductory Example ¶ Suppose that you own a chain of stores. The following query shows the percentage of the total chain’s profit generated by each store. The query uses the ` RATIO_TO_REPORT ` function, which takes a value (for example net_profit) from the current row and divides it by the sum of the correspondi...
snowflake_docs/desc-procedure_4_0.txt
Examples ¶ This example shows how to describe a stored procedure that has no parameters: > > DESC PROCEDURE my_pi(); > +---------------+----------------------+ > | property | value | > |---------------+----------------------| > | signature | () | > | ...
snowflake_docs/drop-dynamic-table_2_0.txt
Syntax ¶ DROP DYNAMIC TABLE [ IF EXISTS ] <name> Copy
snowflake_docs/commands-snowpark-container-services_0_0.txt
/ 1. IMAGE REGISTRY AND REPOSITORY 5. COMPUTE POOL 11. SERVICE 18. JOB commands) Snowpark Container Services
snowflake_docs/get_notification_mute_flag_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. * The following role is required to view results for the _account budget_ :
snowflake_docs/copy-into-table_8_0.txt
TYPE = CSV ¶ ` COMPRESSION = AUTO | GZIP | BZ2 | BROTLI | ZSTD | DEFLATE | RAW_DEFLATE | NONE ` String (constant) that specifies the current compression algorithm for the data files to be loaded. Snowflake uses this option to detect how already- compressed data files were compressed so that the com...
snowflake_docs/st_makepolygon_3_0.txt
Arguments ¶ ` _ geography_or_geometry_expression _ ` A GEOGRAPHY or GEOMETRY object that represents a LineString in which the last point is the same as the first (i.e. a loop).
snowflake_docs/array_cat_5_0.txt
Usage Notes ¶ * If you are passing in semi-structured ARRAYs, both arguments must be of ARRAY type or VARIANT containing an array. * If you are passing in structured ARRAYs, the function returns an ARRAY of a type that can accommodate both input types. * If either argument is NULL, the function returns NULL ...
snowflake_docs/bitxor_agg_5_0.txt
Usage Notes ¶ * Numeric values are aggregated to the nearest integer data type. Decimal and floating point values are rounded to the nearest integer before aggregation. * Aggregating a character/text column (data type VARCHAR, CHAR, STRING, etc.) implicitly casts the input values to FLOAT, then rounds the value...
snowflake_docs/drop-masking-policy_8_0.txt
Usage notes ¶ SELECT * from table(information_schema.policy_references(policy_name=>'<string>')); Copy * A masking policy cannot be dropped successfully if it is currently assigned to a column or a tag. Before executing a DROP statement, UNSET the masking policy from the column
snowflake_docs/pipe_usage_history_2_0.txt
Columns ¶ Column Name | Data Type | Description ---|---|--- PIPE_ID | NUMBER | Internal/system-generated identifier for the pipe used for the data load. Displays NULL if no pipe name was specified in the query. Each row includes the totals for all pipes in use within the time range. PIPE_NAME | TEXT | Name of ...
snowflake_docs/create-session-policy_9_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/length_3_0.txt
Arguments ¶ ` _ expression _ ` The input expression must be a string or binary value.
snowflake_docs/data-types-geospatial_39_0.txt
Determining if a Shape Is Invalid ¶ To determine if a GEOGRAPHY or GEOMETRY object is invalid, call the [ The following example checks if an object is valid: SELECT TO_GEOMETRY('LINESTRING(100 102,100 102)', TRUE) AS g, ST_ISVALID(g); Copy Was this page helpful? Yes No Inc. All Rights Reserved . On this page ...
snowflake_docs/system_estimate_query_acceleration_2_0.txt
Syntax ¶ SYSTEM$ESTIMATE_QUERY_ACCELERATION( '<query_id>' ) Copy
snowflake_docs/system_set_span_attributes_2_0.txt
Syntax ¶ SYSTEM$SET_SPAN_ATTRIBUTES('<object>'); Copy
snowflake_docs/commands-alert_1_0.txt
Alert Commands ¶ Was this page helpful? Yes No Inc. All Rights Reserved . Language : **English**
snowflake_docs/create-iceberg-table_3_0.txt
Snowflake as the Iceberg catalog ¶ -- Snowflake as the Iceberg catalog CREATE [ OR REPLACE ] ICEBERG TABLE [ IF NOT EXISTS ] <table_name> ( -- Column definition <col_name> <col_type> [ inlineConstraint ] [ NOT NULL ] [ COLLATE '<collation_specification>' ] ...
snowflake_docs/alter-application-package_5_0.txt
Examples ¶ ALTER APPLICATION PACKAGE hello_snowflake_package ADD VERSION v1_1 USING '@hello_snowflake_code.core.hello_snowflake_stage'; Copy +---------------------------------------------------------------------------------------+---------+-------+ | status ...
snowflake_docs/ceil_5_0.txt
Usage Notes ¶ * If ` _ scale_expr _ ` is negative, then it specifies the number of places before the decimal point to which to adjust the number. For example, if the scale is -2, then the result is a multiple of 100. * If ` _ scale_expr _ ` is larger than the input expression scale, the function does not ha...
snowflake_docs/create-application-role_4_0.txt
Required parameters ¶ ` _ name _ ` Specifies the identifier for the application role. This value must be unique within the application object in which the role is created. The identifier must start with an alphabetic character and cannot contain spaces or special characters unless the entire identifier string is en...
snowflake_docs/last_value_5_0.txt
Examples ¶ SELECT column1, column2, LAST_VALUE(column2) OVER (PARTITION BY column1 ORDER BY column2) AS column2_last FROM VALUES (1, 10), (1, 11), (1, 12), (2, 20), (2, 21), (2, 22); +---------+---------+--------------+ | COLUMN1 | COLUMN2 | COLUMN2_LAST | ...
snowflake_docs/storage_daily_history_3_0.txt
Usage Notes ¶ * Latency for the view may be up to 120 minutes (2 hours). * 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/result_scan_4_0.txt
Usage Notes ¶ * If the original query is executed manually, only the user who runs the original query can use the RESULT_SCAN function to process the output of the query. Even a user with the ACCOUNTADMIN privilege cannot access the results of another user’s query by calling RESULT_SCAN. * Snowflake stores all ...
snowflake_docs/asinh_1_0.txt
ASINH ¶ Computes the inverse (arc) hyperbolic sine of its argument.
snowflake_docs/create-clone_4_0.txt
Syntax ¶
snowflake_docs/in_10_0.txt
Using ` IN ` With a Subquery ¶ > > SELECT 'a' IN ( > SELECT column1 FROM VALUES ('b'), ('c'), ('d') > ) AS RESULT; > +--------+ > | RESULT | > |--------| > | False | > +--------+ > > > Copy
snowflake_docs/system_stream_backlog_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/drop-application-package_5_0.txt
Examples ¶ DROP APPLICATION PACKAGE hello_snowflake_app; Copy +-------------------------------------------+ | status | |-------------------------------------------| | hello_snowflake_app successfully dropped. | +-------------------------------------------+ W...
snowflake_docs/desc-event-table_3_0.txt
Parameters ¶ ` _ name _ ` Specifies the identifier for the event table 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/system_clustering_depth_5_0.txt
Examples ¶ Calculate the clustering depth for a table using the clustering key defined for the table: > > SELECT SYSTEM$CLUSTERING_DEPTH('TPCH_ORDERS'); > > +----------------------------------------+ > | SYSTEM$CLUSTERING_DEPTH('TPCH_ORDERS') | > |----------------------------------------+ > | 2...
snowflake_docs/commands-native-apps_4_0.txt
Application Roles ¶
snowflake_docs/is_role_in_session_5_0.txt
Examples ¶ Verify if the privileges granted to a specified role are inherited by the current role in the session: > > SELECT IS_ROLE_IN_SESSION('ANALYST'); > > +-------------------------------+ > | IS_ROLE_IN_SESSION('ANALYST') | > |-------------------------------| > | True ...
snowflake_docs/div0_2_0.txt
Syntax ¶ DIV0( <dividend> , <divisor> ) Copy
snowflake_docs/desc-packages-policy_1_0.txt
DESCRIBE PACKAGES POLICY ¶ Describes the details about a packages policy. DESCRIBE can be abbreviated to DESC.
snowflake_docs/alter-function_17_0.txt
External Functions ¶ Change the API Integration for an external function: ALTER FUNCTION function4(number) SET API_INTEGRATION = api_integration_2; Copy Set the maximum number of rows per batch for an external function: ALTER FUNCTION function5(number) SET MAX_BATCH_ROWS = 100; Copy Was this page helpful? Ye...
snowflake_docs/approx_top_k_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/functions-all_12_0.txt
label-data-types-geospatial-h3) cells that have geospatial.html
snowflake_docs/alter-external-volume_11_0.txt
Examples ¶ The following example removes the storage location named ` my-us-east-1 ` from the ` exvol1 ` external volume: ALTER EXTERNAL VOLUME exvol1 REMOVE STORAGE_LOCATION 'my-us-east-1'; Copy The following examples add a storage location to an external volume: **Amazon S3** ALTER EXTERNAL VOLUME exvol1...
snowflake_docs/xmlget_5_0.txt
Returns ¶ semistructured.html
snowflake_docs/create-procedure_8_0.txt
Scala Handler ¶ You can create a stored procedure that either includes its handler code in- line, or refers to its handler code in a JAR file. For more information, see [ staged) . guide/stored-procedure/stored-procedures-scala.html
snowflake_docs/split_7_0.txt
Examples ¶ Split the localhost IP address ` 127.0.0.1 ` into an array consisting of each of the four parts: > > SELECT SPLIT('127.0.0.1', '.'); > > +-------------------------+ > | SPLIT('127.0.0.1', '.') | > |-------------------------| > | [ | > | "127", ...
snowflake_docs/system_stream_has_data_5_0.txt
Examples ¶ > > create table MYTABLE1 (id int); > > create table MYTABLE2(id int); > > create stream MYSTREAM on table MYTABLE1; > > insert into MYTABLE1 values (1); > > -- returns true because the stream contains change tracking information > select system$stream_has_data('MYSTREAM');...
snowflake_docs/references_20_0.txt
Monitoring usage of references ¶ You can view references requested by an application by using the [ SHOW an application, the output will include information about the object, database, schema, and the identifer for each reference. For example, to view references in application ` my_app ` : SHOW REFERENCES IN AP...
snowflake_docs/abs_1_0.txt
ABS ¶ Returns the absolute value of a numeric expression.
snowflake_docs/st_distance_1_0.txt
ST_DISTANCE ¶ types-geospatial.html
snowflake_docs/compress_6_0.txt
Examples ¶ The example below shows how to use the ` COMPRESS ` function with the ` SNAPPY ` compression method. The output of the function is ` BINARY ` , but SNOWSQL displays the output as a string of hexadecimal characters for readability. SELECT COMPRESS('Snowflake', 'SNAPPY'); +-----------------------...
snowflake_docs/with_9_0.txt
Recursive Clause ¶ restricted to projections, filters, and joins (inner joins and outer joins in which the recursive reference is on the preserved side of the outer join). The recursive clause cannot contain: * Aggregate or window functions, * ` GROUP BY ` , ` ORDER BY ` , ` LIMIT ` , or ` DISTINCT ` . T...
snowflake_docs/current_client_2_0.txt
Syntax ¶ CURRENT_CLIENT() Copy
snowflake_docs/copy-into-table_20_0.txt
Loading files using column matching ¶ Load files from a named external stage into the table with the ` MATCH_BY_COLUMN_NAME ` copy option, by case-insensitive matching the column names in the files to the column names defined in the table. With this option, the column ordering of the file does not need to match the...
snowflake_docs/drop-role_4_0.txt
Usage notes ¶ * Dropped roles cannot be recovered; they must be recreated. * If a role has a future privilege as a grantor or grantee, the role can only be dropped by a user with a role that has the MANAGE GRANTS privilege. * All current and future grants that name the role as either the grantor or the grant...
snowflake_docs/regexp_like_0_0.txt
/ reference/functions-regexp) REGEXP_LIKE Categories:
snowflake_docs/parameters_52_0.txt
JDBC_ENABLE_PUT_GET ¶ Type : Session — Can be set for Account » User » Session Data Type : Boolean Description : Specifies whether to allow PUT and GET commands access to local file systems. Values : ` TRUE ` : JDBC enables PUT and GET commands. ` FALSE ` : JDBC disables PUT and GET commands. Default : ` TRUE...
snowflake_docs/drop-service_7_0.txt
label-access-control-securable-objects) , see [ Overview of
snowflake_docs/st_geometryfromwkb_6_0.txt
Returns ¶ geospatial.html
snowflake_docs/h3_point_to_cell_3_0.txt
Arguments ¶ ` _ geography_point _ ` A GEOGRAPHY object that represents a Point. ` _ target_resolution _ ` An INTEGER between 0 and 15 (inclusive) specifying the H3 [ resolution returned H3 cell. Specifying any other INTEGER value results in an error.
snowflake_docs/create-notification-integration_11_0.txt
label-access-control-overview-privileges) at a minimum: Privilege | Object | Notes ---|---|--- CREATE INTEGRATION | Account | Only the ACCOUNTADMIN role has this privilege by default. The privilege can be granted to additional roles as needed. For instructions on creating a custom role with a specified set of pri...
snowflake_docs/create-security-integration-saml2_12_0.txt
label-access-control-overview-privileges) at a minimum: Privilege | Object | Notes ---|---|--- CREATE INTEGRATION | Account | Only the ACCOUNTADMIN role has this privilege by default. The privilege can be granted to additional roles as needed. For instructions on creating a custom role with a specified set of pri...
snowflake_docs/regr_count_1_0.txt
REGR_COUNT ¶ Returns the number of non-null number pairs in a group.
snowflake_docs/create-dynamic-table_5_0.txt
Required Parameters ¶ ` _ name _ ` Specifies the identifier (i.e. name) for the dynamic table; must be unique for the schema in which the dynamic table is created. In addition, the identifier must start with an alphabetic character and cannot contain spaces or special characters unless the entire identifier string ...
snowflake_docs/group-by_1_0.txt
GROUP BY ¶ Groups rows with the same group-by-item expressions and computes aggregate functions for the resulting group. A GROUP BY expression can be: * A column name. * A general expression. Extensions:
snowflake_docs/call-with_2_0.txt
Syntax ¶
snowflake_docs/object_keys_9_0.txt
label-data-type-variant) . > > > CREATE TABLE objects_1 (id INTEGER, object1 OBJECT, variant1 VARIANT); > > > Copy > > INSERT values: > > > INSERT INTO objects_1 (id, object1, variant1) > SELECT > 1, > OBJECT_CONSTRUCT('a', 1, 'b', 2, 'c', 3), > TO_VARIANT(OBJECT_CONSTRUC...
snowflake_docs/st_difference_4_0.txt
Returns ¶ The function returns a value of type GEOGRAPHY. If all points of ` _ geography_expression_1 _ ` are in ` _ geography_expression_2 _ ` (i.e. the difference is an empty set of points), the function returns NULL.
snowflake_docs/h3_cell_to_parent_2_0.txt
label-data-types-geospatial-h3) cell for a given resolution. The ID is returned as an INTEGER value (if an INTEGER value was provided as the input ID) or as a VARCHAR containing the hexadecimal ID (if the hexadecimal ID was provided as the input ID). See also:
snowflake_docs/system_current_user_task_name_0_0.txt
/ 1. Control 29. Information 90. Query Information SYSTEM$CURRENT_USER_TASK_NAME Categories:
snowflake_docs/create-replication-group_0_0.txt
/ 4. Replication 11. Failover/Failback 18. Client Redirect CREATE REPLICATION GROUP
snowflake_docs/alter-replication-group_0_0.txt
/ 4. Replication 11. Failover/Failback 18. Client Redirect ALTER REPLICATION GROUP
snowflake_docs/complete-snowflake-cortex_1_0.txt
COMPLETE (SNOWFLAKE.CORTEX) ¶ cortex/llm-functions.html
snowflake_docs/alter-projection-policy_10_0.txt
Examples ¶ Rename a projection policy: > > ALTER PROJECTION POLICY mypolicy RENAME TO proj_policy_acctnumber; > > > Copy Was this page helpful? Yes No Inc. All Rights Reserved . On this page 1. Syntax 2. Parameters 3. Access control requirements 4. Usage notes 5. Examples Language : **Engli...
snowflake_docs/grant-application-role_4_0.txt
Access control requirements ¶ access-control-overview-roles) used to execute this SQL command must have the overview.html
snowflake_docs/bitshiftright_0_0.txt
/ reference/expressions-byte-bit) BITSHIFTRIGHT Categories:
snowflake_docs/as_integer_3_0.txt
Arguments ¶ ` _ variant_expr _ ` An expression that evaluates to a value of type VARIANT.
snowflake_docs/drop-catalog-integration_2_0.txt
Syntax ¶ DROP CATALOG INTEGRATION [ IF EXISTS ] <name> Copy
snowflake_docs/show-services_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/create-table_2_0.txt
Syntax ¶ CREATE [ OR REPLACE ] [ { [ { LOCAL | GLOBAL } ] TEMP | TEMPORARY | VOLATILE | TRANSIENT } ] TABLE [ IF NOT EXISTS ] <table_name> ( -- Column definition <col_name> <col_type> [ inlineConstraint ] [ NOT NULL ] [ COLLATE '<collation_specification...
snowflake_docs/charindex_5_0.txt
Collation Details ¶ 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 ` collation specifiers, you must [ enable the 2024_02 be...
snowflake_docs/declare_6_0.txt
Exception Declaration Syntax ¶ guide/snowflake-scripting/exceptions) . <exception_name> EXCEPTION [ ( <exception_number> , '<exception_message>' ) ] ; Copy Where: > ` _ exception_name _ ` > > > The name to give to the exception. > > ` _ exception_number _ ` > > > A number to uniquely identify the exception...
snowflake_docs/complete-snowflake-cortex_16_0.txt
Example: Providing a System Prompt ¶ This example illustrates the use of a system prompt to provide a sentiment analysis of movie reviews. The ` prompt ` argument here is an array of objects, each having an appropriate ` role ` value. SELECT SNOWFLAKE.CORTEX.COMPLETE( 'llama2-70b-chat', [ ...
snowflake_docs/st_intersection_3_0.txt
Arguments ¶ ` _ geography_expression_1 _ ` A GEOGRAPHY object. ` _ geography_expression_2 _ ` A GEOGRAPHY object.
snowflake_docs/metering_history_2_0.txt
Columns ¶ Column Name | Data Type | Description ---|---|--- SERVICE_TYPE | TEXT | Type of service that is consuming credits, which can be one of the following: START_TIME | TIMESTAMP_LTZ | The date and beginning of the hour (in the local time zone) in which the usage took place. END_TIME | TIMESTAMP_LTZ | The ...
snowflake_docs/alter-tag_8_0.txt
label-access-control-overview-privileges) at a minimum: Privilege | Object | Notes ---|---|--- OWNERSHIP | Tag | This privilege is required to modify tag properties (e.g. comment, allowed values). OWNERSHIP is a special privilege on an object that is automatically granted to the role that created the object, but ca...
snowflake_docs/approx_percentile_5_0.txt
Usage Notes ¶ * Percentile works only on numeric values, so ` _ expr _ ` should produce values that are numbers or can be cast to numbers. * The values returned are not necessarily in the data set. * The value returned is an approximation. The size of the data set and the skew in the data set affect the acc...
snowflake_docs/create_3_0.txt
General Usage Notes ¶ * ` OR REPLACE ` and ` IF NOT EXISTS ` clauses are mutually exclusive; they cannot both be used in the same statement. * 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 trans...