Home » SQL & PL/SQL » SQL & PL/SQL » Comments
Comments [message #10044] Fri, 26 December 2003 19:27 Go to next message
Mubasher
Messages: 4
Registered: December 2003
Junior Member
Please tell me baout giving comments in SQL AND PL/SQL.
Re: Comments [message #10045 is a reply to message #10044] Fri, 26 December 2003 21:12 Go to previous messageGo to next message
Frank Naude
Messages: 4579
Registered: April 1998
Senior Member
For both SQL and PL/SQL:

-- (double-dash) Comment till end of line

/* this is a multi-line
comment */

Best regards.

Frank
Re: Comments [message #10046 is a reply to message #10044] Sat, 27 December 2003 05:58 Go to previous message
William Robertson
Messages: 1643
Registered: August 2003
Location: London, UK
Senior Member
In PL/SQL it is usually preferable to avoid the /*...*/ style of comments, as they make it much harder to comment out whole sections when debugging.
Previous Topic: any one has a solution?
Next Topic: URGENT-Comparing Records from Two Tables
Goto Forum:
  


Current Time: Fri Apr 26 22:08:06 CDT 2024