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?
Knut Stolze - 06 Mar 2006 08:09 GMT
> 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: /* ... */

Signature
Knut Stolze
DB2 Information Integration Development
IBM Germany