Heim > Datenbank > MySQL-Tutorial > 关于Oracle DB中SQL Script的注释(REM,--,/* */)

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Freigeben: 2016-06-07 17:16:25
Original
1344 Leute haben es durchsucht

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

    Verwandte Etiketten:
    Erklärung dieser Website
    Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn
    Beliebte Tutorials
    Mehr>
    Neueste Downloads
    Mehr>
    Web-Effekte
    Quellcode der Website
    Website-Materialien
    Frontend-Vorlage