I am trying to learn how to use the r: command in SQL scripts and call a main script from SQLCMD using this tutorial:
http://www.mssqltips.com/sqlservertip/1543/using-sqlcmd-to-execute-multiple-sql-server-scripts/
Unfortunately, my computer is not executing the scripts that are included in the main script by the r: command. It creates the database fine but does not create the tables, perform the inserts, create the indexes or create the procedures. This is the output displayed when the batch file runs:
Why isn't r: working?