Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

sqlcmd r: in script not working

$
0
0

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?


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>