EXPRESSIONS
Translation reference for Oracle expressions to Snow Scripting
Description
The following table has a summary of how to transform the different Oracle Expression kinds into Snow Scripting.
Syntax
Conversion status
Notes
Not Translated
Snowflake does not have a native equivalent for Oracle collections. See Collections and Records.
Not Translated
Snowflake does not have a native equivalent for Oracle record types. See Collections and Records.
Partially supported common scenarios
Oracle Constants
For more information, check the Oracle Constant declaration section.
Oracle
CREATE TABLE EXPRESSIONS_TABLE(col VARCHAR(30));
CREATE OR REPLACE PROCEDURE EXPRESSIONS_SAMPLE
IS
RESULT VARCHAR(50);
CONST CONSTANT VARCHAR(20) := 'CONSTANT TEXT';
BEGIN
-- CONSTANT EXPRESSIONS
RESULT := CONST;
INSERT INTO EXPRESSIONS_TABLE(COL) VALUES (RESULT);
END;
CALL EXPRESSIONS_SAMPLE();
SELECT * FROM EXPRESSIONS_TABLE;|COL |
|-------------|
|CONSTANT TEXT|
Snowflake
Not supported numeric expressions
Oracle
Not supported boolean expressions
Oracle
Last updated
Was this helpful?