Remark
Transformation for this command is pending
Description
The
REMARK
command begins a comment in a script. SQL*Plus does not interpret the comment as a command.. (Oracle SQL Plus User's Guide and Reference)
Snowflake does not have a direct equivalent for this command. However, some of its functionalities can be emulated.
1. Remark after the first line
This case is functionally equivalent.
When the REMARK
command is not at the beginning of a script you can use the standard SQL comment markers and double hyphens.
Oracle
SnowSQL (CLI Client)
2. Remark on the first line
This case is not functionally equivalent.
When the REMARK
command is at the beginning of a script, scenarios could appear such as:
Case 1: The next line is a query, in which case the conversion to Snowflake of the REMARK
command succeeds.
Case 2: The next line is another SQL*Plus command, in which case the conversion cannot be performed since Snowflake is not capable of executing either of the two statements (This also applies to the scenario where there is only one statement in the script statement that corresponds to the REMARK
command).
Below are some examples, where the first two could not be translated correctly.
Oracle
SnowSQL (CLI Client)
Known Issues
No Known Issues.
Related EWIs
SSC-EWI-0073: Pending Functional Equivalence Review.
Last updated