467,887 Members | 1,586 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,887 developers. It's quick & easy.

Comments in Selects DB2 v8,1.9 UDB Lunix

I have some longish (100-150 lines) select statements going from php to
db2. I would like to add some comments to make the sql more
understandable. I want to know if I can do this, and if so, what the
syntax for such embedded comments is: //, --, /*...*/, others?
Mar 6 '06 #1
  • viewed: 1104
Share:
1 Reply
Bob Stearns wrote:
I have some longish (100-150 lines) select statements going from php to
db2. I would like to add some comments to make the sql more
understandable. I want to know if I can do this, and if so, what the
syntax for such embedded comments is: //, --, /*...*/, others?


The usual SQL comments will work, i.e. --
You can also embed C-style comments: /* ... */

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Mar 6 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Marc | last post: by
13 posts views Thread by Ian Hickson | last post: by
21 posts views Thread by Florian Brucker | last post: by
12 posts views Thread by Nobody | last post: by
1 post views Thread by Alex Chun | last post: by
40 posts views Thread by jacob navia | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.