Professional Documents
Culture Documents
SQL
SQL server
Microsoft SQL Server is a client/server
database management system.
A client/server database management system
consists of two components:
A front-end component (the client), which is used
to present and manipulate data;
A backend component (the database server),
which is used to store, retrieve, and protect the
databases.
Components of SQL Server
The commands you primarily use to query a database on a
database server are
part of the Structured Query Language (SQL).
The Structured Query Language is a standardized set of
commands used to work with databases.
Microsoft SQL Server 2000 supports an enhanced version of
SQL referred to as Transact-SQL
Transact-SQL commands used to create, maintain, and
query databases
Microsoft
SQL Server supports the most recently published standards
for ANSI SQL. Sometimes, the version of SQL implemented
in SQL Server referred to as SQL-92.
Transact-SQL
Data Definition Language (DDL) statements,
which enable you to create database objects.
Data Manipulation Language (DML) statements,
which enable you to query or modify data.
Data Control Language (DCL) statements, which
enable you to determine,set, or revoke users’
permissions to SQL databases and their objects
Microsoft SQL Server 2000 supports two
login authentication modes :
Windows Authentication mode
Mixed mode
Database
Master – Information about the operation of SQL
Server,including user accounts, other SQL
servers,environment variables,error messages,databases,
storage space allocated to databases,and the tapes and
disk drives on the SQL server.
Model – A template for creating new databases. SQL
Server automatically copies the objects in this database to
each new database you create.
Msdb – Information about all scheduled jobs,defined
alerts,and operators on your server. This information is
used by the SQL Server Agent service.
Tempdb –Temporary information. This database is used
as a scratchpad by SQL Server.
Northwind, pubs – A sample database for learning SQL
Server.
Components of SQL Server
The SQL Server Services
SQL Server Enterprise Manager
MAXSIZE = UNLIMITED
Deleting a Database
DROP DATABASE database_name.
Using SQL Server Enterprise
Manager