It creates 3 databases that are exactly the same except for the database-name.
If you cannot deploy your code, your code and hard-work is essentially worthless.
Again, this is a sqlcmd.exe example of using $(Variable)’s to deploy databases….which emphasizes repeatability but with configurability as well.
Instructions:
Unzip the files……….read the README.txt file (the top portion contains setup information).
If you have ".\SqlExpress" setup as your development environment, you should be able to just click:
RebuildDatabaseMaster_AllThree.bat
and it should just work.
Look at the gif screenshot (in the zip), and compare to your database.
Then you can look at the README.txt file for explanation about what is happening.
There are also output log files you can look at (mentioned in the README.txt file) which will provide clues if anything does not work.
After you get it down, you’re essentially (always) one copy/paste/edit (the variable file) and a second copy/paste/edit (the .bat file) away from deploying a new database.
ISQLW OSQL << These are the early versions of this tool, FYI.