If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Are Native SP comments stored?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-01-09, 03:58
Coolberg Coolberg is offline
Registered User
 
Join Date: Jul 2002
Posts: 229
Are Native SP comments stored?

Quick question... When I create a Native Stored Procedure having
code comments (either -- or /* */ ) - will they actually be
stored in DB2?
Reply With Quote
  #2 (permalink)  
Old 07-01-09, 04:43
Coolberg Coolberg is offline
Registered User
 
Join Date: Jul 2002
Posts: 229
I'd better answer myself ;-)
I checked out the DB2 manual about Stored PRocedures, and learnt that
setting SQL mode to SQLCOMNT or SQLPL will get the comments stored, while
mode SQL doesn't.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On