A MS SQL T-SQL script can be imported via the following command-line:

sqlcmd -U db_user -P db_password -d db_name -i c:\filename.sql
  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

Recursively delete old files in Windows

The following command will recursively delete files older than X number of days: forfiles -p...

FileZilla FTP server recommended settings

Edit -> Settings*Note: settings not explictly mentioned can generally be left as defaults...

MySQL scheduled backups on Linux via CRON

The following commands can be added via crontab.  As-is, they will dump all MySQL databases to a...

Windows 2003 IIS will not start

Problem: IIS is stopped and trying to start it returns an "IIS admin service not started"...

MVC3 and Medium Trust

If you run .NET in Medium Trust and receive an error like this when installing MVC 3: Error...