Import xml to database with high end performance and Audit log- A best Practice
- by karthik
Hi,
I have to import big xml files to Ms SQL 2005 Database by using C# with high end Performance.
Even if any record fails in middle, i have to take next record for process
and failed record need to log for audit.
I don't want to put insert query with in for loop.
Could you please suggest a best way to do this.
If I can use bulkcopy methods or Data Adapter update methods- Its very nice, But if any record fails, execution of that statement breaks and rolled back totally, right?
Any alternatives and Best practices with example please..?
Is Multi-threading works for me to improve performance..?
Give me example please.
Thanks
Karthikeyan