views:

75

answers:

2

Age old question! When you have finished developing and testing your ASP.Net web application, the database you want to deploy is now full of test information and needs to be emptied (and identity fields reseeded to 1) before you deploy.

When using a server instance, this isnt difficult (create a SQL script to do the job) but when using a user instance, its seems there is no easy way around?

Can anyone help with this? Thanks

A: 

You can connect SSMS to a user instance DB, it just requires a bit of voodoo to discover the DB name.

As for scripting the sql, you can also use the Sql Server hosting toolkit to do this.

Wyatt Barnett