I'm building an automated build procedure, one of the steps is to create a database and it's structure/procedures/functions etc. Clearly I can script the entire db creation job in sql and use sqlCmd ...
The importance of automating processes can’t be overestimated. Most things start out as a manual procedure until you work out exactly how things should happen, but many times they stay that way ...