1. Home
  2. Computing & Technology
  3. Databases

SQLCMD Step-by-Step

By , About.com Guide

1 of 6

Getting Familiar with SQLCMD

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.
Explore Databases
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Databases
  4. SQL Server
  5. SQLCMD: Microsoft SQL Server Command Line Utility>

©2009 About.com, a part of The New York Times Company.

All rights reserved.