Dot Net Questions: System Tables and Sql Server 2000 Query

System tables are the groups of table that helps sql4) The MSDB contains information regarding backup
server to track the information regarding users,and restore information.
databases, tables, replications tasks and so many5) The master database contains a set of tables that
task and also helps in sql query just like insert query,hold name of publishing and subscribing servers.
delete sql query, update sql query,. All information6) The distribution database contains information on
regarding database that is knows by sql server are inreplication schedules and transactions.
system tables. These system tables are break down7) The databases that participate in replication
into server groups.objects with in those databases.
1) The master databases contain informationThere are almost 100 of system tables and some
regarding databases, logins, server and some systemexamples of queries are here:
wide information.Sql Server 2000 query on systems tables:
2) Each data base contains some table which holds1) To get name of primary files from system table
information on objects, indexes, columns and somedatabase
database information.Selectname, filename from sysdatabases
3) The MSDB database contains a set of tables that2) How t get name of all files used by database with
used by SQL SERVER Agent which store informationthe help of Sql Server 2000 queries
on alerts, jobs and others items that manages bySelect name, filename from sysfiles.
agents.