Create database using a script file
i have generated a script file of a database of sql server 2005,i want to run the script from c#.any ideas.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Joxin Stanly181 reputationPosted Aug 25, 2013, 6:59 AM EDT
please have a look @ below link:
http://social.msdn.microsoft.com/Forums/en-US/43e8bc3a-1132-453b-b950-09427e970f31/run-a-sql-script-file-in-c
http://stackoverflow.com/questions/650098/how-to-execute-an-sql-script-file-using-c-sharp