Inserting into SQL via XML using OLEDB Consumer Templates ?
- From: Heiko <heiko_dev@xxxxxxxxxx>
- Date: Mon, 13 Jun 2005 12:15:27 +0200
Hi
Has anyone got a sample or some links on how to insert data into SQL Server via XML ?
Only saw samples to retrieve XML up to now.
- Ideally I would like to create the XML insert statements in memory, not reference an external xml command file.
- If we need to insert between 10 to 10000 rows of data into SQL Server table, what options are available to do this from Visual C++ ? (Currently we use OLE DB Consumer Templates implementation that calls a stored proc for each row insert. )
Is it correct to assume that inserting 3000 rows via XML would be faster (one call) than doing 3000 stored proc calls ?
Thanx :)
Heiko .
- Follow-Ups:
- Re: Inserting into SQL via XML using OLEDB Consumer Templates ?
- From: Erland Sommarskog
- Re: Inserting into SQL via XML using OLEDB Consumer Templates ?
- Prev by Date: Syntax error (missing operator) when deleting a row with commandbu
- Next by Date: Linked Server and Views
- Previous by thread: Syntax error (missing operator) when deleting a row with commandbu
- Next by thread: Re: Inserting into SQL via XML using OLEDB Consumer Templates ?
- Index(es):
Relevant Pages
|