USE
Transact SQL USE statement Snowflake equivalence.
The USE statement has its own equivalent in Snowflake. The statement will be translated to the USE DATABASE statement in snowflake.
Translation Examples
Source
Output
Database name
The database name
specified in the USE
statement, could have a change if it comes inside Square Brackets ([ ])
. The first bracket and the last bracket will be replaced with quotes. Example:
Source
Output
User Defined Database
If a user specifies to the Conversion Tool a custom database name to be applied to all the objects by using the -d
parameter, and wants the USE statements to be transformed, the Database name should be applied just to the USE
statement and not to the objects. This will override the specified database from the use statement. Example:
Source
Output
Known Issues
No issues were found.
Related EWIs
No related EWIs.
Last updated