C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Articles » Databases »

Default Databases In SQL SERVER 2000


Posted Date: 07 Nov 2009    Resource Type: Articles    Category: Databases
Author: ChiragMember Level: Silver    
Rating: 1 out of 5Points: 10



The use and impact of the default databases which comes with the SQL Server, when its installed.

Master:

The master database is composed of system tables that keep track of the server installation as a whole and all other databases that are subsequently created. the master database has system catalogs that keep information about disk space, file allocations, usage, system wide configuration settings, login accounts, the existence of other databases, and the existence of other SQL servers (for distributed operations).

Model:

The model database is simply a template database. Every time you create a new database, SQL Server makes a copy of model to form the basis of the new database. If you'd like every new database to start out with certain objects or permissions, you can put them in model, and all new databases will inherit them.

TempDB:

The temporary database, tempdb, is a workspace. SQL Server's tempdb database is unique among all other databases because it's re-created—not recovered—every time SQL Server is restarted. It's used for temporary tables explicitly created by users, for worktables to hold intermediate results created internally by SQL Server during query processing and sorting, and for the materialization of static cursors and the keys of keyset cursors. Operations within tempdb are logged so that transactions on temporary tables can be rolled back, but the records in the log contain only enough information to roll back a transaction, not to recover (or redo) it.
All users have the privileges to create and use private and global temporary tables that reside in tempdb. (Private and global table names have # and ## prefixes).

Pubs:

The pubs database is a sample database used extensively by much of the SQL Server documentation.
You shouldn't worry about making modifications in the pubs database as you experiment with SQL Server features. You can completely rebuild the pubs database from scratch by running a script in the \Install subdirectory (located right under the SQL Server installation directory). In SQL Query Analyzer, open the file named Instpubs.sql and execute it. You do need to make sure that there are no current connections to pubs, because the current pubs database is dropped before the new one is created.

Northwind:

The Northwind database is a sample database that was originally developed for use with Microsoft Access. Much of the documentation dealing with APIs uses Northwind, as do some of the newer examples in the SQL Server documentation.
The Northwind database can be rebuilt just like the pubs database, by running a script located in the Install subdirectory. The file is called Instnwnd.sql.

MSDB:

The msdb database is used by the SQL Server Agent service, which performs scheduled activities such as backups and replication tasks. In general, other than performing backups and maintenance on this database, you should ignore msdb.



Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
Temp Database.  .  SQL SERVER 2000 Database  .  SQL SERVER 2000  .  SQL Databases  .  Pubs Database  .  Pubs  .  Northwind Database  .  MSDB Database  .  Master Database  .  Master  .  Detail Master Database  .  Default Database  .  Default 2000 Database  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: SQL ADD Minutes in Time Format
Previous Resource: Object-Relational Mapping: DevExpress Persistent Objects (XPO), DLINQ and Entity Framework
Return to Discussion Resource Index
Post New Resource
Category: Databases


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use