关于Oracle DB中SQL Script的注释(REM,--,/* */) ,Oracle DB中SQL Script注释的语法
关于Oracle DB中SQL Script的注释(REM,--,/* */)
[日期:2012-07-14] 来源:Linux社区 作者:pan_tian [字体:]
Oracle DB中SQL Script注释的语法
补充:REM是REMARK的缩写
那么REM和--的区别是什么?
--或者/* */可以用于PL/SQL,但REM[ark]不可以。
下边这段可以在SQL*PLUS中执行成功
但下边这段就不行 关于注释有很清楚的说明。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.
Copyright © 2019- baoaiwan.cn 版权所有 赣ICP备2024042794号-3
违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务