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 > print statement in stored procedure

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-02-09, 06:02
db2_udb db2_udb is offline
Registered User
 
Join Date: Dec 2008
Posts: 3
print statement in stored procedure

Hi All,

I have written a stored procedure in db2 and want to print the value of a
variable at different stages of execution.

one way would be to debug the SP, but as the SP is executing for quite some time I wanted to put display statement for this variable so that I caand can see the execution of SP.

Could you any one please tell me the syntax for the same.?


Regards
Reply With Quote
  #2 (permalink)  
Old 01-02-09, 06:56
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 435
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9 DB Admin - Dprop..
Reply With Quote
Reply

Thread Tools
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