Home > Database > Mysql Tutorial > 关于Oracle DB中SQL Script的注释(REM,--,/* */)

关于Oracle DB中SQL Script的注释(REM,--,/* */)

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 17:16:25
Original
1347 people have browsed it

关于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.

  • linux

    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
    Latest Issues
    About undefined $db
    From 1970-01-01 08:00:00
    0
    0
    0
    There is no DB file under tink
    From 1970-01-01 08:00:00
    0
    0
    0
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template