1. Computing

SQLCMD Step-by-Step

By

1 of 6

Getting Familiar with SQLCMD
SQLCMD Step-by-Step
Mike Chapple
Microsoft SQL Server provides users with a variety of rich graphical user interfaces to retrieve and manipulate data and configure SQL Server databases. However, sometimes it’s just easier to work from the old-fashioned command line. Whether you’re looking for a quick-and-dirty way to execute a SQL query or wish to include SQL statements in a Windows script file, SQLCMD allows you to meet your goal.

This tutorial assumes that you already have Microsoft's AdventureWorks Sample Database installed.
  1. About.com
  2. Computing
  3. Databases
  4. SQL Server
  5. SQLCMD: Microsoft SQL Server Command Line Utility

©2014 About.com. All rights reserved.