New quoting syntax is q'[ ... ]' where the [] is the user-defined delimiter. : DBMS_OUTPUT « PL SQL Programming « Oracle PL/SQL Tutorial






SQL> --The [] can be any character not present in the string literal.
SQL>
SQL> BEGIN
  2     DBMS_OUTPUT.PUT_LINE('Oracle''s  are BEAUTIFUL');
  3     DBMS_OUTPUT.PUT_LINE(q'!Oracle's are BEAUTIFUL!');
  4     DBMS_OUTPUT.PUT_LINE(q'[Oracle's are BEAUTIFUL]');
  5     DBMS_OUTPUT.PUT_LINE(q'<Oracle's are BEAUTIFUL>');
  6     DBMS_OUTPUT.PUT_LINE(q'%Oracle's are BEAUTIFUL%');
  7  END;
  8  /
Oracle's  are BEAUTIFUL
Oracle's are BEAUTIFUL
Oracle's are BEAUTIFUL
Oracle's are BEAUTIFUL
Oracle's are BEAUTIFUL

PL/SQL procedure successfully completed.

SQL>








24.22.DBMS_OUTPUT
24.22.1.Call user defined function in DBMS_OUTPUT.PUT_LINE
24.22.2.PL/SQL Block Showing the Use of the dbms_output.put_line Procedure
24.22.3.Output NUMBER with dbms_output.put_line Procedure
24.22.4.Output string with dbms_output.put_line Procedure
24.22.5.Using two single-quotes print the string correctly
24.22.6.New quoting syntax is q'[ ... ]' where the [] is the user-defined delimiter.
24.22.7.Use the LOWER function to in DBMS_OUTPUT.PUT_LINE
24.22.8.Use the ROUND function in PL/SQL
24.22.9.DBMS_OUTPUT.CHARARR
24.22.10.DBMS_OUTPUT.GET_LINES