Home » SQL & PL/SQL » SQL & PL/SQL » HOW TO WRITE A REQUEST IN ONE LINE WITH COMMENTS?
HOW TO WRITE A REQUEST IN ONE LINE WITH COMMENTS? [message #405] Mon, 11 February 2002 01:42 Go to next message
sorcer
Messages: 19
Registered: January 2002
Junior Member
Hello,
I know it's possible to write comments like this :
-- Comments
SELECT * FROM...
-- Another comment
WHERE ...

BUT i want to write like this :
-- Comments SELECT * FROM... -- Another comment WHERE ...

and it's not possible, what can i do?

Thank you very much
Re: HOW TO WRITE A REQUEST IN ONE LINE WITH COMMENTS? [message #406 is a reply to message #405] Mon, 11 February 2002 04:45 Go to previous messageGo to next message
pratap kumar tripathy
Messages: 660
Registered: January 2002
Senior Member
hi,

it is not possible to write in this way as parser ignores the line once it encounters the symbol "--".

cheers
pratap
Re: HOW TO WRITE A REQUEST IN ONE LINE WITH COMMENTS? [message #419 is a reply to message #405] Mon, 11 February 2002 07:37 Go to previous message
Grant
Messages: 578
Registered: January 2002
Senior Member
try /* comments... */
Previous Topic: Help !!! URGENT PLEASE.
Next Topic: how do i store the value 123.50 as it is in oracle
Goto Forum:
  


Current Time: Fri Apr 19 11:19:04 CDT 2024