By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,514 Members | 1,702 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,514 IT Pros & Developers. It's quick & easy.

Comments in Selects DB2 v8,1.9 UDB Lunix

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.