PLSQL - Comments

 


There are two types of comments available in PL/SQL.

  • -- Single line comment
  • /* */ Multi line comment

DECLARE

-- variable declaration

v_message varchar2(20):= 'My first PLSQL example!';

BEGIN

/* * This is PL/SQL executable statement(s) */

dbms_output.put_line(message);

END;

Complete Tutorial

*/

No comments:

Post a Comment