What is wrong here in following screen shot?
closed as off-topic by Jon Seigel, RolandoMySQLDBA, Max Vernon, Mark Storey-Smith, Michael - sqlbot Nov 24 '13 at 22:02
This question appears to be off-topic. The users who voted to close gave this specific reason:
Are you 100% sure that this is SQL Server 2008? This behavior suggests SQL Server 2000.
The SQL Server 2000 syntax was
Try that. If that works, when you get into the server check the compatibility level of all your databases in addition to running
The screenshot looks strange.
First of all, SQLCMD don't work with SQL Server 2000.
Among this, parameter
I tried the script like yours on SQL Server 2005 and 2008 and it works fine.
Additional information according to SQLCMD usage can be found here: