Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / March 2006

Tip: Looking for answers? Try searching our database.

Comments in Selects DB2 v8,1.9 UDB Lunix

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bob Stearns - 06 Mar 2006 05:22 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?
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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.