Overview of SQL Server
Vu Tuyet Trinh
Hanoi University of Technology
1
MicrosoftMicrosoft
Introduction to SQL Server
Relational Database
Management System
SQL ServerClient
Results
Results
Client Application
OLAP
OLAP
OLTP
OLTP
Query
Query
P2-3
MicrosoftMicrosoft
SQL Server Goal
MicrosoftMicrosoft
Outline
Introduction to SQL Server
Relational Data Model
Exploring SQL Server Architecture
Data Access Architectures
SQL Server Services & Tools
Programming Languages
Transact-SQL (T-SQL)
CLR
SQL Server Editions
Evolution of SQL Server
Summary
MicrosoftMicrosoft
Relational Data Model
Bund ooraNorma n8507
Ba lw ynMary8452
Bund ooraGlen3936
KewRob ert1108
SuburbNameId
Student
Ta kes
298507
238507
231108
211108
SNOSID
CSCEVB29
MathsAlgeb ra18
CSCEDa ta ba se23
CSCESystem s21
DeptNameNo
Sub jec t
Bund ooraNorma n8507
Ba lwynMa ry8452
Bund ooraGlen3936
KewRob ert1108
SuburbNameId
Stud ent
Ta kes
298507
238507
231108
211108
SNOSID
CSCEVB29
Ma thsAlgeb ra18
CSCEDa ta ba se23
CSCESystems21
DeptNameNo
Sub jec t
Relational Database
Entities
Attributes
Relationship
MicrosoftMicrosoft
Basic Concepts of a Relational Database
Entities
Attributes
Relations
Tables
Fields
MicrosoftMicrosoft
Basic concepts
•
Database ~ a collection of
tables.
•
Table ~ information about a
single entity
•
Primary key ~ (set of)
column(s) that uniquely
identifies a record.
•
Foreign key ~ (set of)
column(s) used to link table
together
BundooraNorman8507
BalwynMary8452
BundooraGlen3936
KewRobert1108
SuburbNameId
Student
Takes
298507
238507
231108
211108
SNOSID
MicrosoftMicrosoft
Database Design: Main Ideas
Objective
Ensuring data completeness
Avoiding data redundancies
Facilitating data access
Solution
Normalization
Reducing redundancies and improving data modification
performance
Renormalizations is often done to enhance reporting performance
(at the expense of disk space and redundancy)
Referential Integrity
Maintains the logical relationships between database objects
MicrosoftMicrosoft
Example
MicrosoftMicrosoft
Outline
Introduction to SQL Server
Relational Data Model
Exploring SQL Server Architecture
Data Access Architectures
SQL Server Services & Tools
SQL Server Editions
Evolution of SQL Server
Summary