Uzumaki
15 years agoOccasional Contributor
Executing .sql files in C# script.
Hi
My scenario:
I have a .sql file contaning several SQL commands. I want to execute all these commands using C# script or some other method.
What is the "correct" way to do this? Maybe using sql from the command line?
Any input is appreciated.
/Joakim
My scenario:
I have a .sql file contaning several SQL commands. I want to execute all these commands using C# script or some other method.
What is the "correct" way to do this? Maybe using sql from the command line?
Any input is appreciated.
/Joakim