IBM DB2 Personal Edition 試用報告 高等資料庫管理系統 69321007 陳建吾 2005.10.16 Outline 1. 2. 3. 4. 5. 6. DB2 安裝說明 DB2 系統介面 DB2 實際操作與結果 Embedded SQL Binding DB2 結論與心得 參考資料 1.
Download
Report
Transcript IBM DB2 Personal Edition 試用報告 高等資料庫管理系統 69321007 陳建吾 2005.10.16 Outline 1. 2. 3. 4. 5. 6. DB2 安裝說明 DB2 系統介面 DB2 實際操作與結果 Embedded SQL Binding DB2 結論與心得 參考資料 1.
IBM DB2 Personal Edition
試用報告
高等資料庫管理系統
69321007 陳建吾
2005.10.16
1
Outline
1.
2.
3.
4.
5.
6.
DB2 安裝說明
DB2 系統介面
DB2 實際操作與結果
Embedded SQL Binding DB2
結論與心得
參考資料
2
1. DB2 安裝說明
作業系統
支援 Windows, Linux, Solaris, AIX, HP-UX
本報告使用 Windows XP SP2
下載DB2 PE
DB2 UDB v8.2.2 Personal Developer’s Edition
必須先註冊一個帳號才能下載
3
2. DB2 系統介面
a.
b.
c.
d.
e.
f.
g.
h.
i.
j.
控制中心
抄寫中心
衛星管理中心
命令編輯器
作業中心
健康中心
交易日誌
授權中心
開發中心
配置輔助程式
4
2.1. DB2 控制中心
5
2.2. DB2 Online Help
6
3. DB2 實際操作與結果
Create a Database
Create a Table
Create a View
Create an Index
7
3.1. SAMPLE Database
8
3.1.1. Database 操作
9
3.1.2. SQL 命令編輯器
10
3.1.3. SQL 命令編輯器 - 1
11
3.1.4. SQL 命令編輯器 - 2
12
3.2.1. SQL 輔助程式
13
3.2.2. SQL 輔助程式 - 1
14
3.2.3. SQL 輔助程式 - 2
15
3.2.4. SQL 輔助程式 - 3
16
4. Embedded SQL Binding DB2
Languages Supporting Embedded SQL
C, C++, C#, COBOL, JDBC, Perl, PHP, Visual
Basic, Visual Basic .NET
Sample Files
sqllib/samples (UNIX)
sqllib\samples (Windows)
17
4.1. Sample Files by Platform
18
4.2. Embedded SQL in C++
19
4.3. Samples for Visual C++
20
4.3.1. Sample VarCHAR
21
4.3.2. Sample BLOBAccess
22
5. 結論與心得
IBM DB2 PE 優點
跨平台支援
多程式語言支援
介面美觀方便
功能完整
說明, 範例等文件充足
IBM DB2 PE 缺點
慢 (in Windows)
23
6. 參考資料
1) IBM DB2 PDE Website
2) IBM® DB2 Universal Database™ Common
Criteria Certification: Installing DB2
Universal Database Personal Edition Version
8.2 Revision 07
3) IBM® DB2 Universal Database™
Application Development Guide: Building
and Running Applications Version 8.2
24