RelationalDBDesign
RedhatLinuxSys Seomining
prev prev
Course navigation
Setting up your database
Microsoft SQL Server
In most SQL Server installations, you will automatically have access to the PUBS database, which contains the data used throughout this course.
To begin with SQL Server, confirm the following:
  1. You have installed the client utilities that are part of the SQL Server installation set.
  2. You have obtained a login ID for SQL Server.
  3. You have been granted rights for the PUBS database.
From here, all you need to do to confirm that you're able to connect and query the database is to open the Start menu and select Programs and then Microsoft SQL Server 6.5 Utilities. The resulting menu will have an option, ISQL_W, that represents the query manager for SQL Server. Select this option and you will be prompted for the user ID and password provided to you by your DBA.
As soon as you've logged in successfully, select the PUBS database from the Database drop-down list box. This will tell the server which database you need to work with, and it will make querying the database much simpler.
The final step in the test is to issue a simple query. All you need to do is type in the following:
SELECT * FROM authors
Press the green Execute button on the toolbar of the window, and the query will be sent to the server.
If you have any troubles, download the scripts necessary to build the PUBS database from the Resources page and try the test again after you have confirmed with your DBA that the database is available.
Course navigation