The PL/SQL supports single line and multi-line comments. All characters available inside any comment are ignored by PL/SQL compiler. The PL/SQL single-line comments start with the delimiter – - (double hyphen) and multi-line comments are enclosed by /* and */.
Example -2DECLARE
/* This programme written for show my website in PL/SQL programme My website is www.tutorialslife.com*/website varchar2(20):= 'www.tutorialslife.com'; --my website is assign to website variableBEGINdbms_output.put_line(website);
END;
/Output – www.tutorialslife.comPL/SQL procedure successfully completed.
0 Comments