I am using a database project in Visual Studio 2010 to manage all the code in my database.
For my application, we share the data for each client in our own copy of the database with a common database for mapping users to the corresponding database.
I would like to save several different sets of sample data in TFS along with the code and be able to selectively deploy one of them as needed.
I created scripts for two different client databases and saved them in a directory after deployment to tfs. I would like to keep another that we use for demos and unit testing.
Is there any way to do: r conditional in SQLCMD? Are there any other suggestions or recommendations on how to do this? I read the Visual Studio 2010 Database Project Guide , but found nothing.
Thanks in advance for any help you can provide.
source share