SELECT INTO Statement
Translation reference to convert Oracle SELECT INTO statement to Snowflake Scripting
Description
SELECT [ { DISTINCT | UNIQUE } | ALL ] select_list
{ into_clause | bulk_collect_into_clause } FROM rest-of-statement ;INTO { variable [, variable ]... | record )BULK COLLECT INTO { collection | :host_array }
[, { collection | :host_array } ]...SELECT [ { ALL | DISTINCT } ]
{
[{<object_name>|<alias>}.]*
| [{<object_name>|<alias>}.]<col_name>
| [{<object_name>|<alias>}.]$<col_position>
| <expr>
[ [ AS ] <col_alias> ]
}
[ , ... ]
INTO :<variable> [, :<variable> ... ]
[...]Sample Source Patterns
Sample auxiliary data
SELECT INTO Statement simple case
Oracle
Snowflake Scripting
Known Issues
1. BULK COLLECT INTO is not supported
2. Collections and records are not supported
Related EWIs
Last updated
