MS SQL Basics Tutorial: Instance database

Source: Internet
Author: User
Tags microsoft sql server sql server books

SQL Server 2000 has two instance databases (Sample Databases pubs): and Northwind. As with system databases, the files for the instance database are also stored in the Data folder of the MSSQL subdirectories of Microsoft SQL Server (the default installation directory). The instance database contains files as shown in table 6-2:

The pubs and Northwind databases can serve as a learning tool for SQL Server, and the examples in SQL Server Books Online are largely based on these two databases. The pubs instance database stores the basics of a fictional book publishing company. The Northwind instance database contains sales data for a company. This company, known as the Northwind Merchant (Northwind Traders), is a fictitious company engaged in the import and export business of foodstuffs.

If you change the contents of the instance database or accidentally delete the instance database, and want to revert it to its original state, you can run the Instpubs.sql or Instnwnd.sql in the installation directory mssqlinstall with SQL Server Analyzer Program to rebuild the pubs or Northwind database.

Summary of this chapter

This chapter describes the database creation and management knowledge, as well as the basic situation of system database and instance database. Powerful database management features are features of SQL Server, and mastering this chapter is a basic requirement for database administrators.

See the full set of "MS SQL Basics Tutorials"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.