MS SQL Server 2000 Quick Start
(Version 1.0)
by:
David Zhu
(IT
Analyst)
Oakland University
Rochester, MI 48309-4401
September 2003
Query Analyzer and Enterprise Manager are the two frequently used tools for most SQL Server 2000 client users.
A. What are Query Analyzer and Enterprise Manager:
Query Analyzer:
The SQL Server Query Analyzer is your primary interface for running SQL queries or stored procedures. You will be using this utility throughout your database coureses.
2. Enterprise Manager:
SQL Server 2000 Enterprise Manager is the primary graphical administrative and development interface for SQL Server. There is very little SQL Server Enterprise Manager can do that you can't accomplish from a SQL command. However, using the Enterprise Manager is sometimes more convenient (especially when you are new to SQL Server 2000). You can use Enterprise Manger to create your own database, cope / delete tables, query / update tables without writing SQL commands.
B. How to use Query Analyzer:
login Query Analyzer: click Start / Programs / Microsoft SQL Server / Query Analyzer:

select your target SQL Server: click the browser button (right to SQL Server input) and select ORADEV (Note, if you have a SQL Server database running on your local pc, the default SQL Server is your local SQL Server database).
Under Connect using, select SQL Server Authentication mode and type in your user id and password ( you may obtain your userid/password from your instructor), click OK.
Congratulations!....you are in Query Analyzer now:

The right pane is Query Analyzer where you write your SQL command, the left pane is Object Browser window (if you don't see this, just click Tools / Object Browser / Show/hide to display the window).

C. How to use Enterprise Manager:









Just type in your new database name you choose, then you are done!