![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
My delete statement ??? -- cant quite figure out the syntax of this one.... select * from openquery([LinkedServer], 'delete from NotesTable') where lastName='Smith' (this doesnt work) |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Yes, I dont think I can use this syntax. select * from [Notes_DRS_CaseName DEV].[CaseName].[dbo].[case_name] delete from [Notes_DRS_CaseName DEV].[CaseName].[dbo].[case_name] where CaseNum='PROD055344' Returns: Server: Msg 7312, Level 16, State 1, Line 1 Invalid use of schema and/or catalog for OLE DB provider 'MSDASQL'. A four-part name was supplied, but the provider does not expose the necessary interfaces to use a catalog and/or schema. OLE DB error trace [Non-interface error]. |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
I tried all different versions of the selects... no luck. Still the same "no schema exposed message" Here is the error from the delete... delete from openquery([Notes_DRS_CaseName DEV],'select * from CaseName' ) where CaseNum='PROD007586' Server: Msg 7390, Level 16, State 1, Line 1 The requested operation could not be performed because the OLE DB provider 'MSDASQL' does not support the required transaction interface. OLE DB error trace [OLE/DB Provider 'MSDASQL' IUnknown::QueryInterface returned 0x80004002]. |
#7
| |||
| |||
|
|
Try using two part names for your oracle table by adding the schema that your oracle table is in. |
#8
| |||
| |||
|
|
I tried all different versions of the selects... no luck. Still the same "no schema exposed message" Here is the error from the delete... delete from openquery([Notes_DRS_CaseName DEV],'select * from CaseName' ) where CaseNum='PROD007586' Server: Msg 7390, Level 16, State 1, Line 1 The requested operation could not be performed because the OLE DB provider 'MSDASQL' does not support the required transaction interface. OLE DB error trace [OLE/DB Provider 'MSDASQL' IUnknown::QueryInterface returned 0x80004002]. |
#9
| |||
| |||
|
|
John Bell (jbellnewsposts (AT) hotmail (DOT) com) writes: Try using two part names for your oracle table by adding the schema that your oracle table is in. ProgrammerGal is using LotusNotes... (Of course, I don't know LotusNotes at all. Maybe there is an Oracle database in the bottom?) -- Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se Books Online for SQL Server 2005 at http://www.microsoft.com/technet/pro...ads/books.mspx Books Online for SQL Server 2000 at http://www.microsoft.com/sql/prodinf...ons/books.mspx |
#10
| |||
| |||
|
|
I tried all different versions of the selects... no luck. Still the same "no schema exposed message" Here is the error from the delete... delete from openquery([Notes_DRS_CaseName DEV],'select * from CaseName' ) where CaseNum='PROD007586' Server: Msg 7390, Level 16, State 1, Line 1 The requested operation could not be performed because the OLE DB provider 'MSDASQL' does not support the required transaction interface. OLE DB error trace [OLE/DB Provider 'MSDASQL' IUnknown::QueryInterface returned 0x80004002]. |
![]() |
| Thread Tools | |
| Display Modes | |
| |