Jim B
Jim B

Reputation: 8574

FOR XML and Performance

Does anybody have any tips/tricks as to how to improve performance in the following scenario:

So, I do have a couple options here:

Thanks again.

~Jim

Upvotes: 0

Views: 575

Answers (1)

Derek
Derek

Reputation: 23228

This is your option right here. XML transformation is going to be far more efficient in C# than in SQL.

The above XML will eventually be loaded into our C# codebase to be uploaded to its final destination. Does it make more sense to simply load the record set into C#, and do the XML transformation there, instead of doing it on the database side?

Upvotes: 2

Related Questions