Saturday 21 October 2017

Comments In PL/SQL

PL/SQL supports two type of comments

  • Single line comments(-- comments)
  • Multi line comments(/*comments*/).

Single line and Multi line comments example:

BEGIN

    --This is oracle guide blogs [this is single line comments]
null;
    /* I am trying my level best to provide the right information.
    If you find any thing contradictory please share with us.
    We will review and take the corrective action.[this is multi line comments]*/

END;

  • PL/SQL compiler ignores comments.
  • Comments Should appear within a statements at the end of a line.
  • Standard code always refer the Multi line comments . 





No comments:

Post a Comment