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 > Does DB2 stored procedure support CURSOR type?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-27-05, 11:20
Melvine Melvine is offline
Registered User
 
Join Date: Sep 2003
Posts: 24
Does DB2 stored procedure support CURSOR type?

In Oracle stored procedure we can use a user defined cursor type as parameter type, for example:

create or replace package ENTITYSP as
type ob_rec IS REF CURSOR;
PROCEDURE ENTITYSP(ob_output out ob_rec);
end ENTITYSP;
/

---------
Question:
Does DB2 stored procedure also support this kind of cursor type as parameter type?

Thanks alot for the help

Melvine

Last edited by Melvine; 12-28-05 at 07:16.
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