I'm using a Database Project in Visual Studio 2010 to manage all of my database code.
For my application, we separate the data for each client into their own copy of the database, with a common database to map users to the appropriate database.
I'd like to keep several different sample data sets in TFS along with the code and be able to selectively deploy one of them as necessary.
I've created scripts for two different client databases and have them both saved in the post-deployment directory in tfs. I'd like to maintain another that we use for demos and unit testing.
Is there a way to make :r conditional in SQLCMD? Are there other suggestions or best practices for how to do this? I've been reading through the Visual Studio 2010 Database Projects Guidance Document, but haven't found anything yet.
Thanks in advance for any help you can provide.