Understanding the sqlcmd utility – to run scripts, stored procedures, and Transact-SQL commands from the command line Author: Basit A. Farooq The sqlcmd utility is a Microsoft Win32 command prompt utility, which you can you to run scripts, stored procedures, and Transact-SQL commands from the command line. The sqlcmd utility establishes an OLE-DB connection to the database. To use sqlcmd…