How to unlink data on new database
GilbertLiddell
Posts: 2
Hi,
I have a database under source control in TFS. I use this as my main database for development, all changes are made to this database and checked in. I also have checked in my "base" data from this database.
I now want a second database, this will be the database that I run unit tests against. I want to link this database to the same database under source control above but when I check-out, I only want to get the schema, not the data.
Currently, when I link the test database and de-select the data for that table, it automatically de-selects the table as well.
How can I choose to checkout a schema from the database under source control without taking the data? Is there maybe a command line tool or have I missed something :-(
Thanks in advance for your help.
Gilbert.
I have a database under source control in TFS. I use this as my main database for development, all changes are made to this database and checked in. I also have checked in my "base" data from this database.
I now want a second database, this will be the database that I run unit tests against. I want to link this database to the same database under source control above but when I check-out, I only want to get the schema, not the data.
Currently, when I link the test database and de-select the data for that table, it automatically de-selects the table as well.
How can I choose to checkout a schema from the database under source control without taking the data? Is there maybe a command line tool or have I missed something :-(
Thanks in advance for your help.
Gilbert.
Comments
Thanks for your post. At the present time, this isn't possible, however I've raised it as an enhancement in our systems under an internal tracking number of SOC-2489. This will definitely be considered for future releases of the tool so watch this space!
Pete
Red Gate Software Ltd
+44 (0)870 160 0037 ext. 8569
1 866 RED GATE ext. 8569
http://downloads.red-gate.com/HelpPDF/C ... LTools.pdf
Please use this approach to build a test database and if for whatever reason it doesn't work for you, let us know!
Kind regards,
David Atkinson
Product Manager
Red Gate Software
Product Manager
Redgate Software