I have a .sql script and I want to build a database from it. How to do it in sqlcmd? I know it\'s like:
CREATE DATABASE dbName GO
But how t
sqlcmd -i C:\path\to\file.sql
More options can be found in SQL Server books online.