Create Database from source control using the command line
It would be great if it would be possible to create a database from source control using the command line interface (or some api).
2
votes
![](https://secure.gravatar.com/avatar/d8ac04cad2de146078988b17306d0044?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
David Atkinson commented
This is possible with SQL Compare Pro, Red Gate's database deployment tool. Its command line take a source database, which can be a scripts folder taken from source control, and you simply specify the target database (if you don't have one, simply create an empty one). Please try this and email support@red-gate.com if you have any issues.