SQLXMLBulkLoad for Oracle
From: Barry Tang (Barry_S_Tang_at_hotmail.com)
Date: 10/14/04
- Next message: Mary Ellen: "Can FOR XML EXPLICIT handle item lists within Child tables?"
- Previous message: Adam Machanic: "Re: Read Value from XML"
- Next in thread: Bertan ARI [MSFT]: "Re: SQLXMLBulkLoad for Oracle"
- Reply: Bertan ARI [MSFT]: "Re: SQLXMLBulkLoad for Oracle"
- Messages sorted by: [ date ] [ thread ]
Date: 14 Oct 2004 14:26:46 -0700
In an article, http://www.dbazine.com/cook3.shtml, the author
suggested that for SQLXMLBulkLoad:
"The ConnectionString property is a valid OLE DB connection string. In
this example, a connection is made to a SQL Server. Instead, the
connection could have been to an Oracle server."
(I tried to send an e-mail to the author of the article but the e-mail
address is invalid)
However, when I tried to connect to an Oracle server, it wasn't
successful.
Based on the example in http://support.microsoft.com/?kbid=316005 and
using the following connection string:
objBL.ConnectionString = "provider=MSDAORA;data source=ora_sti;User
Id=<MyUser>;Password=<MyPassword>"
I got an error:
Error: Bulkload will only work with SQL Server 2000 or later.
Code: 80004005
Source: Microsoft XML Bulkload for SQL Server
Note that the data source "ora_sti" is a service name I created using
Oracle Net Manager, which I tested successfully with a C# program
using ODP.NET.
I also tried using the OLEDB provider from Oracle, but got the same
error:
objBL.ConnectionString = "provider=OraOLEDB.Oracle;data
source=ora_sti;User Id=<MyUser>;Password=<MyPassword>"
I am using SQLXML 3.0 SP1 on a XP SP2 client box; the server is Oracle
10g on Windows 2000 SP4.
Any help is appreciated.
- Next message: Mary Ellen: "Can FOR XML EXPLICIT handle item lists within Child tables?"
- Previous message: Adam Machanic: "Re: Read Value from XML"
- Next in thread: Bertan ARI [MSFT]: "Re: SQLXMLBulkLoad for Oracle"
- Reply: Bertan ARI [MSFT]: "Re: SQLXMLBulkLoad for Oracle"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|