i am using local database in my application development,i want to create new database with same exisitng database schema
i want to add functionality such as new,export,import database
how can i create blank database files using existing database schema
aur move physcial db file from one location to another location
i am using sql server express databas (.mdf) files
how can i accomplish
please prove detail steps
Move,attach,detach sql expres database
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Lalit MRank #1,186 · 1.5K reputationPosted Nov 27, 2009, 7:28 PM EST
You can use script wizard to crested blank data base show this link you may get some idea.
kassim21 reputationPosted Nov 28, 2009, 7:29 AM EST
at the time of deployment i'll just put local database on target machine
i want d function so that user can create new database every year, a blank db but with existing schema and fifferent name
or i just want to use datbase schema as template for creating database