I want to create a database file (.mdf) at a specific location, then I want to run a sql script, may be another .sql file (to create tables and populate default values in .mdf file).
How can i do it programmatically?
I want to create a database file (.mdf) at a specific location, then I want to run a sql script, may be another .sql file (to create tables and populate default values in .mdf file). How can i do it programmatically? |
|||||||||
|
Create DB and run script Should help you |
|||
|