Thread: SQL Server 2005 Linked Servers (OraOledb / 10g)


Permlink Replies: 8 - Pages: 1 - Last Post: Oct 12, 2009 4:38 PM Last Post By: user634834
user494102

Posts: 1
Registered: 03/09/06
SQL Server 2005 Linked Servers (OraOledb / 10g)
Posted: Mar 9, 2006 5:48 AM
Click to report abuse...   Click to reply to this thread Reply
I am running SQL Server 2005 on a 64 bit Server. I have a linked server using OraOledb (Oracle client 10g) to Oracle. "Select" statements works without any problems, but "Update" and "Delete" statements return the following error:

Msg 7333, Level 16, State 2, Line 2
Cannot fetch a row using a bookmark from OLE DB provider "OraOLEDB.Oracle" for linked server "ORACLESERVER".
user511308

Posts: 3
Registered: 05/22/06
Re: SQL Server 2005 Linked Servers (OraOledb / 10g)
Posted: May 22, 2006 11:53 AM   in response to: user494102 in response to: user494102
Click to report abuse...   Click to reply to this thread Reply
I am currently having much difficulty setting up a linked server from a MS SQL 2005 64-bit on a Windows 2003 server

If you could specify how you did it, it would be of great help to me. I managed to establish a connection to my oracle from a ms sql 32 bit on another windows server, however this was using the msdaora provider wich to my knowledge is not available in the x64 windows 2003.

In the create new linked server i cannot choose oraoledb - how do I gain access to that provider?

Regards

Peter
user521024

Posts: 1
Registered: 07/19/06
Re: SQL Server 2005 Linked Servers (OraOledb / 10g)
Posted: Jul 19, 2006 11:07 AM   in response to: user511308 in response to: user511308
Click to report abuse...   Click to reply to this thread Reply
Any luck on this? I am have the same problem with the 10g client on my SQL 2005 64-bit system.
user523211

Posts: 1
Registered: 08/02/06
Re: SQL Server 2005 Linked Servers (OraOledb / 10g)
Posted: Aug 2, 2006 8:21 AM   in response to: user521024 in response to: user521024
Click to report abuse...   Click to reply to this thread Reply
I have SQL Server 2005 on windows 2003 64 bit. I initially had a similar trouble to use Oracle Provider for OLE DB of 10g client. After I reinstalled 10gr2 (10.2.0.1) client, applied patch 5203839, checked "Allow inprocess" in the provider options, then it works fine.
user482248

Posts: 72
Registered: 01/24/06
Re: SQL Server 2005 Linked Servers (OraOledb / 10g)
Posted: Aug 4, 2006 5:28 AM   in response to: user523211 in response to: user523211
Click to report abuse...   Click to reply to this thread Reply
Hi,

I'm having the similar problems. SQL server 2005 on a 64bit server, trying to connect to Oracle 9i on a 32bit windows server. Which OLEDB providers are other people using? I've installed 10g kit on the 64bit server hoping that would give me the provider I need in order to get 'Linked Server' working. no luck.

I can't see this patch when I try to search the patch database, is the number correct?

Thanks in advance
Dave.
user599154

Posts: 1
Registered: 10/08/07
Re: SQL Server 2005 Linked Servers (OraOledb / 10g)
Posted: Oct 8, 2007 11:00 AM   in response to: user482248 in response to: user482248
Click to report abuse...   Click to reply to this thread Reply
i'm also have the same situation where the MSDAORA or Oracle 10G Provider is not visible under the Providers list in SQL Server.

i'm desperate for a (step-by-step how-to) on this. any information would be
greatly appreciated.

thanks in advance.
user629665

Posts: 1
Registered: 04/07/08
SQL Server 2005 (OraOledb / 10g)
Posted: Apr 7, 2008 5:29 PM   in response to: user599154 in response to: user599154
Click to report abuse...   Click to reply to this thread Reply
I had a similar problem as discussed here, windows 2k 64bit, sql server 2005 64bit, and Oracle 10g 64bit client and being able to get a valid OLEDB driver installed for Oracle. The ODBC driver did install and work ok.

The built in MS oracle provider is version 7.3.3 and as such doesn't talk to 10g at all.

I couldn't get any 64bit oracle client to install a OLEDB.

To fix this I installed a 32bit Oracle 10g client.
user550815

Posts: 2
Registered: 12/29/06
Re: SQL Server 2005 Linked Servers (OraOledb / 10g)
Posted: May 1, 2008 2:47 AM   in response to: user494102 in response to: user494102
Click to report abuse...   Click to reply to this thread Reply
Our Database Team Resolved this Issue by Chaning the OPENQUERY Statement to a Four Part Syntax.


Old Query:


UPDATE OPENQUERY (DBNAME,'SQL STATEMENT') SET Statement


Revised Query:


UPDATE [DBNAME]..SYSTEM.TABLE SET Statement


The funny thing with this is, if you are Updating a Table with a Single Record such as a Sequence Table, it was necessary to run a SELECT Statement Prior to the UPDATE Command.


Example:


SELECT ORD_NUM FROM [CUSTOMER]..SYSTEM.ORDER_NUMBER_INTERNAL


UPDATE [CUSTOMER]..SYSTEM.ORDER_NUMBER_INTERNAL SET ORD_NUM = (@UNIQUEID + @RECCOUNT + 1)

user634834

Posts: 2
Registered: 05/06/08
Re: SQL Server 2005 Linked Servers (OraOledb / 10g)
Posted: May 6, 2008 11:47 AM   in response to: user523211 in response to: user523211
Click to report abuse...   Click to reply to this thread Reply
Where did you get the patch. I have the same problem but cannot find the patch.
Legend
Guru Guru : 2500 - 1000000 pts
Expert Expert : 1000 - 2499 pts
Pro Pro : 500 - 999 pts
Journeyman Journeyman : 200 - 499 pts
Newbie Newbie : 0 - 199 pts
Oracle ACE Director
Oracle ACE Member
Oracle Employee ACE
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums