Professional Documents
Culture Documents
Installation Process
1. Double click the AUTORUN icon in the SQL Server 2000 CD. 2. Click SQL Server 2000 Components
4. Click Next
8. Click Yes
To use the particular database select that corresponding database from combo box
To create a table by using Query Analyzer, write down the command in query window and Press F5 or click Execute Query (F5) button on tool bar.
You will see the message The command(s) completed successfully after query execution. To see the created table in Query Analyzer Refresh your database in object Browser. If Object Browser is not there, Press F8
By expanding the tree you can see the details of your table.
10
Inserting Comments To comment a command in Command widow, we use /* in the beginning and */ in the end of the command. To comment the single line, we use - -
11
Click on the tables than you will see tables in the right pane. There will be some tables which are system tables and some that you have made. You can differentiate between them by column Type. There will be two entries in this column: (1) user (2) system
12
To see the table data Right click on the particular table, select Open table and then click Return all Rows
13
To create a new table using enterprise Manager: 1) To create a table using Enterprise Manager, Right Click on the tables and Select New table
14
3) To set a default value, select the column and set its default value in default values row.
4) To set a primary key, Right Click on the Column and Select Set primary Key
15