Code to validate SQL Scripts

Viewed 23360

How can I validate sql scripts before executing them using .net 2.0 and c#?

If the sql is not valid I want to return error rows.

4 Answers
Related