Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Bulk Insert

Author  Topic 

X-Factor
Constraint Violating Yak Guru

392 Posts

Posted - 2006-01-26 : 12:36:40
Hi,

When using SQLXMLBulkLoad, if there's an error inserting 1 row, does the whole process stop?

What I think would be ideal is if the process continued with the other records to be inserted and then when it had completed returned a report of the rows which had caused errors.

Isn't is quite a big assumption to make that all the rows described by the XML will be inserted without a problem? Or is this perfectly acceptable if one first validates the XML?

Will performance degrade significantly if I manually loop over the XML and do an insert for each row?

Cheers, XF.

   

- Advertisement -