Solved

ref_cursor in a procedure does not work for Microsoft ODBC for oracle driver

Posted on 2006-07-11
4
574 Views
Last Modified: 2008-01-16
Hi,

I have a stored procedure to retreive record set values from db.

so i used PL/SQL table type. that is

type tt1 is table of ........

but if i replace the table type with ref_cursor i get an ODBC error :

"ODBC driver does not support the requested properties.--2147217887".

The problem is i get a connection string from other module and i cannot change the connection string. that is i cannot change the driver.

So is there a way to get it working the ref_cursor using "Microsoft ODBC for Oracle" driver.

Thanks
0
Comment
Question by:garavindbabu
4 Comments
 
LVL 47

Accepted Solution

by:
schwertner earned 25 total points
ID: 17081987
Use Oracle ODBC instead.
Download it fron Oracle Technology Network.
0
 
LVL 14

Assisted Solution

by:sathyagiri
sathyagiri earned 25 total points
ID: 17082764
MICROSOFT ODBC does not support ref cursor. You could use Microsoft OLEDB for Oracle or use the Oracle ODBC as suggested earlier.

See this article
http://support.microsoft.com/kb/255043/
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question