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