Free Newsletters:
DatabaseDaily  
Database Journal
Search Database Journal:
 
MS SQL Oracle DB2 Access MySQL PostgreSQL Sybase PHP SQL Etc SQL Scripts & Samples Links Database Forum

» Database Journal Home
» Database Articles
» Database Tutorials
MS SQL
Oracle
DB2
MS Access
MySQL
» RESOURCES
Database Tools
SQL Scripts & Samples
Links
» Database Forum
» DBA Jobs
» Sitemap

News Via RSS Feed


follow us on Twitter





Brocade Doubles Down on 16 Gbps Fibre Channel

Microsoft Wants iOS Apps to Run on WP7

Avaya Debuts New Virtual Services Switch
Database Journal |DBA Support |SQLCourse |SQLCourse2







Technical Specialist – Pre-sales (MA)
Next Step Systems
US-MA-Littleton

Justtechjobs.com Post A Job | Post A Resume

Featured Database Articles

MS SQL

February 18, 2004

Microsoft SQL Server 2000 command line utilities (Part 1)

By Alexzander Nepomnjashiy

This first article in a series of two, discusses how to use the Microsoft SQL Server 2000 command line utilities, and what are they used for.

Just to be clear before I start, these utilities are primarily used for diagnostic, configuration and data migration purposes, rather than for database server administration.

Please find below all the 42 command line utilities available in an SQL Server instance. Some of the tools described (for example bcp, distrib and osql) have a complex syntax (huge set of options), therefore, a DBA needs permanent access to Microsoft SQL Server 2000 e-documentation - Books Online, delivered with your database server installation media.

Most of the utilities, discussed below, are installed into \Program Files\Microsoft SQL Server\80\Tools\Binn, while the others are installed into \Program Files\Microsoft SQL Server\MSSQL\Binn and Program Files\Microsoft SQL Server\80\Com.

Be aware that '\Program Files\Microsoft SQL Server\80\Tools\Binn' directory is added to a system path, so utilities located here can be run from a command prompt (without specifying a full path). As for any other utilities (i.e. those not in the '\Program Files\Microsoft SQL Server\80\Tools\Binn' directory) should be run from the command prompt in the directory in which the utility is installed or the path should be explicitly specified.

Tools:
Add databasejournal.com to your favorites
Add databasejournal.com to your browser search box
IE 7 | Firefox 2.0 | Firefox 1.5.x
Receive news via our XML/RSS feed

MS SQL Archives

Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 



Latest Forum Threads
MS SQL Forum
Topic By Replies Updated
SQL 2005: SSIS: Script Component: Working with BLOB 0010 4 January 27th, 03:03 PM
Will an MS SQL db table trigger affect the value returned by scope_identity? wreade 2 December 19th, 04:48 PM
BULK UPDATE error benedec 1 December 14th, 08:39 AM
Toggling problem in Matrix report ssrs 2008 dev_ritesh 0 December 2nd, 02:17 PM