Currently I\'m using Visual Studio 2012 RC and SQL Server 2012 RTM.
I\'d like to know how to re-deploy/re-create a test database for each test run.
Keep in m
Edit: Although this doesn't answer the question in a plain SQL Server way, an easy Entity Framework approach would be the following: I found that I could create and destroy my database every time correctly by using the DbContext.Database.CreateIfNotExists() and DbContext.Database.Delete() methods in my setup and cleanup phases of my tests.