Oracle Provider for OLE DB Error
421684Nov 4 2008 — edited Nov 5 2008Hello all.
Can anyone help me understanding why using a statement like
select * from openquery( linkservername, 'select * from table' )
fails with
Server: Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'OraOLEDB.Oracle' reported an error.
[OLE/DB provider returned message: ]
OLE DB error trace [OLE/DB Provider 'OraOLEDB.Oracle' IRowset::GetData returned 0x80004005: ].
On the sql server side, when using the Oracle Provider for OLE DB, but success when I change the linked server to use Microsoft Oracle Provider for OLE DB? It makes no sense to me. Sometimes, when I add a rownum <= 100 it does work with the Oracle OLE DB Provider. As you can see, I installed Oracle Client 10g on the sql server running version 2000, and created a linked server to an Oracle server running Oracle 10.2.4.0. The queries work fine with the Microsoft driver, but fail with the above message when using the oracle native driver.
For your information, here's the select @@version from the sql server database.
Microsoft SQL Server 2000 - 8.00.760 (Intel X86) Dec 17 2002 14:22:05 Copyright (c) 1988-2003 Microsoft Corporation Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 2)
Just wanted to know what might the problem as using the Microsoft driver the session doesn't seem to use FCF.
Any other information you may need, just let me know.
Thanks!