somesh tripathi
somesh tripathi

Reputation: 79

Running Sql Scripts On The Start Of The Application

Hi Guys i wanna know how to run few sql script on our application startup i am using windows Forms to create a desktop application and have to use this approach for certain task. database server used is MS SQL

Upvotes: 0

Views: 202

Answers (1)

wiretext
wiretext

Reputation: 3342

we have to make a method which call the DB script then script will run and do his work. if your next process is depend on that particular script then you have to first call the script and do your work if your next action is not depend on that script so you can keep those script in thread and you can do your work so it will not take a time to load your start point

Upvotes: 1

Related Questions