Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
15Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
03 Ms SQL Server 2000

03 Ms SQL Server 2000

Ratings: (0)|Views: 385 |Likes:
Published by ngocmaster

More info:

Published by: ngocmaster on Mar 13, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

06/12/2013

pdf

text

original

 
 
SSQQLL SSEERRVVEERR 22000000
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
GV. Ph
m Th
Hoàng Nhung
B
môn Công ngh
ph
n m
m
Đạ
i h
c Th
y l
ợ 
i
 
N
IDUNG
 
 
 
 
 
 
 
 
 
 
 
o
T
ng quan SQL Server 2000
o
Thi
ế 
t k
ế 
và th
c thi c
ơ
s
d
li
u
o
T-SQL Programing
o
Giao d
ch và Khoá
o
B
o m
t và Qu
n lý ng
ườ
i dùng
o
T-SQL và SQL nâng cao
o
Ràng bu
c d
li
u và Ch
s
ố 
 
o
Khung nhìn và Con tr
 
o
Th
t
c
o
Trigger
o
Sao l
ư
u và Ph
c h
i
o
Chuy
ể 
n
đổ
i gi
a các lo
i c
ơ
s
d
li
u
o
Ki
ế 
n trúc nhân b
n
 
Ch
ươ
ng 1. T
NG QUAN H
QU
N TR
C
Ơ
S
D
LI
U SQL SERVER 2000
 
2
 
1
 
CH
ƯƠ
NG 1. T
NG QUAN H
QU
N TR
C
Ơ
S
D
LI
U SQLSERVER 2000............................................................................................10
 
1.1 Gi
ớ 
i thi
u SQL Server 2000........................................................................10
1.1.1 Các
đặ
c tr 
ư
ng c
a SQL Server 2000:.....................................................101.1.2 Các phiên b
n-edition c
a SQL Server..................................................111.1.3 Các Version c
a SQL Server..................................................................12
1.2 Các thành ph
n quan tr
ng trong SQL Server 2000...............................12
1.2.1 Relational Database Engine....................................................................121.2.2 Replication - C
ơ 
ch
ế
t
o b
n sao............................................................121.2.3 Data Transformation Service (DTS) - D
ch v
chuy
n d
ch d
li
u......131.2.4 Analysis Service - D
ch v
phân tích d
li
u.........................................131.2.5 English Query Truy v
n d
li
u s
d
ng ti
ế
ng Anh...........................141.2.6 Meta Data Service..................................................................................141.2.7 SQL Server Books Online Sách d
y SQL Server tr 
c tuy
ế
n..............14
1.3 SQL Server Tools.........................................................................................14
1.3.1 Enterprise Manager.................................................................................151.3.2 Query Analyzer.......................................................................................151.3.3 SQL Profiler...........................................................................................15
1.4 Ki
ế
n trúc c
a SQL Server...........................................................................16
1.4.1 Client/Server Database system...............................................................161.4.2 Destop Database system.........................................................................16
1.5 SQL Server Database..................................................................................161.6 Database Objects-Các
đố
i t
ượ 
ng trong c
ơ 
s
ở 
d
ữ 
li
u...............................171.7 Câu h
i tr
c nghi
m.....................................................................................18
2
 
CH
ƯƠ
NG 2. THI
T K
VÀ TH
C THI C
Ơ
S
D
LI
U...................19
 
2.1 C
u trúc c
a SQL Server............................................................................192.2 C
u trúc v
t lý c
a m
t SQL Server Database.........................................192.3 Nguyên t
c ho
t
độ
ng c
a transaction log trong SQL Server.................202.4 C
u trúc logic c
a m
t SQL Server Database..........................................222.5 Các ki
u d
ữ 
li
u trong SQL Server (data types).......................................22
2.5.1 Integers...................................................................................................222.5.2 Decimal and Numeric.............................................................................232.5.3 Money and Smallmoney.........................................................................232.5.4 Approximate Numerics..........................................................................232.5.5 Datetime and Smalldatetime...................................................................242.5.6 Character Strings....................................................................................242.5.7 Unicode Character Strings......................................................................242.5.8 Binary Strings.........................................................................................252.5.9 Các ki
u d
li
u khác.............................................................................25
2.6 Câu h
i tr
c nghi
m.....................................................................................26
3
 
CH
ƯƠ
NG 3. THI
T K
VÀ TH
C THI C
Ơ
S
D
LI
U- PH
N TH
CHÀNH..........................................................................................................27
 
 
Ch
ươ
ng 1. T
NG QUAN H
QU
N TR
C
Ơ
S
D
LI
U SQL SERVER 2000
 
3
3.1 T
o c
ơ 
s
ở 
d
ữ 
li
u s
ử 
d
ng Enterprise Manager........................................273.2 S
ử 
a c
ơ 
s
ở 
d
ữ 
li
u..........................................................................................303.3 Xoá c
ơ 
s
ở 
d
ữ 
li
u..........................................................................................303.4 Nghiên c
ứ 
u c
ơ 
s
ở 
d
ữ 
li
u Flight_Information...........................................30
3.4.1 C
u trúc b
ng..........................................................................................303.4.2 D
li
u trên các b
ng..............................................................................34
3.5 Bài t
p...........................................................................................................39
4
 
CH
ƯƠ
NG 4. T-SQL PROGRAMING....................................................40
 
4.1 Gi
ớ 
i thi
u SQL Batch Processing...............................................................40
4.1.1 Cách th
c Thi m
t nhóm l
nh (Batches)................................................404.1.2 L
nh GO.................................................................................................404.1.3 d
v
Batch:.......................................................................................414.1.4 Chú thích (comment) trong batch:..........................................................41
4.2 Câu l
nh
đ
i
u khi
n.....................................................................................41
4.2.1 Begin..End..............................................................................................414.2.2 If..Else.....................................................................................................424.2.3 Vòng l
 p While.......................................................................................424.2.4 T
khoá GOTO.......................................................................................434.2.5 T
khoá Return.......................................................................................434.2.6 Câu l
nh CASE.......................................................................................43
4.3 Bi
ế
n(Variables).............................................................................................44
4.3.1 Grobal variables......................................................................................444.3.2 Local variables........................................................................................45
4.4 Hàm (Functions)...........................................................................................46
4.4.1 Hàm Conversion.....................................................................................464.4.2 Hàm Data Parts.......................................................................................464.4.3 Hàm ngày tháng hàm toán h
c..........................................................474.4.4 Hàm h
th
ng (System Function)...........................................................474.4.5 Hàm nhóm..............................................................................................48
4.5 Câu h
i tr
c nghi
m.....................................................................................49
5
 
CH
ƯƠ
NG 5. TRANSACTIONS VÀ LOCKS........................................51
 
5.1 Gi
ớ 
i thi
u Transactions-Giao d
ch.............................................................515.2 Các tính ch
t c
a Transaction....................................................................51
5.2.1 Phân lo
i transaction...............................................................................51
5.3 Các m
ứ 
c cô l
p c
a Transaction.................................................................52
5.3.1 Gi
ớ 
i thi
u Dirty Read (
Đọ
c các d
li
u b
n)..........................................525.3.2 Các m
c cô l
 p.......................................................................................54
5.4 Locks.............................................................................................................55
5.4.1 Khái ni
m...............................................................................................555.4.2 Phân lo
i.................................................................................................55
5.5 Câu h
i tr
c nghi
m.....................................................................................57
6
 
CH
ƯƠ
NG 6. B
O M
T VÀ QU
N LÝ NG
ƯỜ
I DÙNG (USER ANDSERCURITY)..............................................................................................59
 

Activity (15)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Le Vigo liked this
Le Vigo liked this
chauthach liked this
taolaoa2z liked this
vuthidan liked this
dmptit1 liked this
dmptit1 liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->