专业回答
rem表示注释,remark的缩写 数据库会忽略rem后的内容!Oracle DB中SQL Script注释的语法 :
REM Single line comment -- Single line comment /* Single line comment */ /* Multi Line comment */
补充:REM是REMARK的缩写。
关于注释有很清楚的说明。
You can enter comments in a script in three ways:
using the SQL*Plus REMARK command for single line comments.
using the SQL comment delimiters /*... */ for single or multi-line comments.
using ANSI/ISO (American National Standards Institute/International Standards Organization) comments - - for single line comments.
本文解释了Oracle数据库中SQL文件使用的注释语法。包括REM单行注释、/* ... */单行或多行注释以及ANSI/ISO标准的--单行注释。REM为remark的缩写,用于标记单行注释。
great佯装埋倦
3309

被折叠的 条评论
为什么被折叠?



