SQL Language Elements
Transformation for syntax and semantics of PL/SQL language elements.
Cursor FOR LOOP
Oracle
--Additional Params: -t JavaScript
CREATE OR REPLACE PROCEDURE PROC1
IS
MyVariable1 NUMBER;
MyOtherVariable2 NUMBER := 1;
CURSOR C1 IS
SELECT * FROM Table1 WHERE ID = 123;
CURSOR C2 (paramCursor1 NUMBER) IS
SELECT COL1 AS C_1 FROM TABLE1 WHERE ID = paramCursor1;
BEGIN
FOR myCursorRecord IN C1
LOOP
MyVariable1 := myCursorRecord.Col1;
END LOOP;
FOR myCursorRecord IN (SELECT * FROM Table1 WHERE ID = MyVariable1)
LOOP
MyVariable1 := myCursorRecord.Col1;
END LOOP;
<<Block1>>
FOR myCursorRecord IN C2 (MyOtherVariable2)
LOOP
MyVariable1 := myCursorRecord.Col1;
END LOOP Block1;
END;Snowflake
OPEN, FETCH and CLOSE Statement
Oracle
Snowflake
Transformation for the following lines correspond to custom types which are work in progress:
Currently the next statement is being emitted but the class is not being created yet. A warning will be applied in the future to all the uses of the unsupported custom types.
SQL Implicit Cursor
Oracle
Snowflake
EXIT
Transformation for labels is a work in progress.
Oracle
Snowflake
Execute Immediate
Oracle
Snowflake
Since the "RETURNING INTO" clause requires special analysis of the statement executed, its translation is planned to be delivered in the future.
Transformation for the following line correspond to collection types which is work in progress:
Currently the next statement is being emitted but the class is not being created yet. A warning will be applied in the future to all the uses of the unsupported custom types.
Also the following EXECUTE IMMEDIATE related with the BULK COLLECT into the sals variable, is also work in progress.
Errors and Exception Handling
Raise Helper Usage
Oracle
Snowflake
When there is not OTHERS handler, SnowConvert uses the "default" case in the switch that throws the original Error Object.
Commit
Oracle
Snowflake
CASE
Oracle
Snowflake
CASE in a variable assignment
Oracle
Snowflake
Call to external C or Java programs
Oracle
Snowflake
Related EWIs
SSC-OOS:
SSC-EWI-0053: Object may not work.
SSC-FDM-OR0011: The Boolean argument was removed because the "add to stack" options is not supported.
SSC-EWI-OR0072: Procedural Member not supported.
SSC-EWI-OR0052: Exception declaration is handled by the raise function.
SSC-EWI-OR0104: Unusable collection variable.
SSC-EWI-0073: Pending Functional Equivalence Review.
SSC-EWI-OR0075: Current of clause is not supported in Snowflake.
SSC-FDM-OR0007: Snowflake does not support the versioning of objects. Developers should consider alternate approaches for code versioning.
SSC-FDM-OR0009: SQL IMPLICIT CURSOR VALUES MAY DIFFER.
Last updated