dbTalk Databases Forums  

Cusors and Stored Procedures

comp.databases.rdb comp.databases.rdb


Discuss Cusors and Stored Procedures in the comp.databases.rdb forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ShamanSC
 
Posts: n/a

Default Cusors and Stored Procedures - 07-16-2003 , 03:46 PM






Can you return a cursor from a RDB Stored Procedure. If so can
someone give me a example of the implementation.

Thanks in advance
ShamanSC

Reply With Quote
  #2  
Old   
Norman Lastovica
 
Posts: n/a

Default Re: Cusors and Stored Procedures - 07-18-2003 , 12:49 PM






I am not sure if this is possible or not (I work in a different area of
the product). contact your Oracle Rdb support group and they should be
able to quickly help you out. Alternately, join JCC's Rdb list server
(www.jcc.com for more information) and try asking there.

ShamanSC wrote:

Quote:
Can you return a cursor from a RDB Stored Procedure. If so can
someone give me a example of the implementation.

Thanks in advance
ShamanSC


Reply With Quote
  #3  
Old   
Richard Maher
 
Posts: n/a

Default Re: Cusors and Stored Procedures - 07-19-2003 , 10:27 AM



Hi,

This can't be done in the same way as other DBMSs (eg: SQL Server) do it
but you may be able to use Global Temporary Tables with Rdb to achieve the
same thing. That is, populate/manipulate the rows in the temporary table
during the stored procedure, thereby making them available to the caller of
the procedure when it exits.

Regards Richard Maher.

PS. I've never doene this but it should work :-)

ShamanSC <garyfry (AT) scnet (DOT) com> wrote

Quote:
Can you return a cursor from a RDB Stored Procedure. If so can
someone give me a example of the implementation.

Thanks in advance
ShamanSC



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.