System Databases: When You Install SQL Server, The Following Four Databases Are Created
System Databases: When You Install SQL Server, The Following Four Databases Are Created
master
This database stores system level information such as user accounts, configuration settings, and
info on all other databases.
model
This database is used as a template for all other databases that are created.
msdb
The msdb database is used by the SQL Server Agent for configuring alerts and scheduled jobs etc
tempdb
This one holds all temporary tables, temporary stored procedures, and any other temporary
storage requirements generated by SQL Server.
These are system databases and each of them are there for a specific purpose. When we create our
own database, the database will be created based on the model database (above). That database
provides the template for any new database that you create.