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 > Passing record sets to DB2 stored procs

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-01-06, 05:54
deepak.pandit deepak.pandit is offline
Registered User
 
Join Date: Mar 2006
Posts: 1
Passing record sets to DB2 stored procs

Hi all,

Can we pass record sets as input parameters to SQL stored procedures?

Thanks and regards,
Deepak
Reply With Quote
  #2 (permalink)  
Old 04-03-06, 00:52
bala_e bala_e is offline
Registered User
 
Join Date: Jan 2004
Posts: 49
Quote:
Originally Posted by deepak.pandit
Hi all,

Can we pass record sets as input parameters to SQL stored procedures?

Thanks and regards,
Deepak
Yes, u can pass with column delimiter and record delimiter.
Reply With Quote
  #3 (permalink)  
Old 04-03-06, 03:15
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
You can INSERT the reocrds into a Declared Global Temp table before calling the SP and read the records inside the SP

HTH

Sathyaram

Quote:
Originally Posted by deepak.pandit
Hi all,

Can we pass record sets as input parameters to SQL stored procedures?

Thanks and regards,
Deepak
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
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