SnowConvert AI - Oracle - Pseudocolumns¶
ROWID¶
Translation spec for ROWID pseudocolumn
Description¶
For each row in the database, the
ROWIDpseudocolumn returns the address of the row. (Oracle SQL Language Reference Rowid pseudocolumn (https://docs.oracle.com/en/database/oracle/oracle-database/21/sqlrf/ROWID-Pseudocolumn.html#GUID-F6E0FBD2-983C-495D-9856-5E113A17FAF1))
Snowflake does not have an equivalent for ROWID. The pseudocolumn is transformed to NULL in order to avoid runtime errors.
Sample Source Patterns¶
Oracle¶
Result Query 1¶
Result Query 2¶
Snowflake¶
Result Query 1¶
NULL |
|---|
Known Issues¶
No issues were found.
ROWNUM¶
Translation spec for ROWNUM pseudocolumn
Description¶
For each row returned by a query, the
ROWNUMpseudocolumn returns a number indicating the order in which Oracle selects the row from a table or set of joined rows. (Oracle SQL Language Reference Rownum pseudocolumn (https://docs.oracle.com/en/database/oracle/oracle-database/21/sqlrf/ROWNUM-Pseudocolumn.html#GUID-2E40EC12-3FCF-4A4F-B5F2-6BC669021726))
Snowflake does not have an equivalent for ROWNUM. The approach for the transformation is taking advantage of the Snowflake seq8 function to emulate the functionality.
Sample Source Patterns¶
Oracle¶
Result Query 1¶
Result Query 2¶
Snowflake¶
Result Query 1¶
Result Query 2¶
Known Issues¶
No issues were found.
Related EWIs¶
SSC-FDM-0006: Number type column may not behave similarly in Snowflake