SQL Server 2012數(shù)據(jù)庫項(xiàng)目教程
定 價:28 元
- 作者:劉玥 著
- 出版時間:2016/9/1
- ISBN:9787113221973
- 出 版 社:中國鐵道出版社
- 中圖法分類:TP311.138SQ
- 頁碼:168
- 紙張:膠版紙
- 版次:1
- 開本:16開
本書以大型數(shù)據(jù)庫管理系統(tǒng)SQL Server 2012為平臺,通過一個貫穿全書的實(shí)例“天意購物”數(shù)據(jù)庫,詳細(xì)講解了SQL Server 2012的安裝和配置,數(shù)據(jù)庫的創(chuàng)建與管理,表、視圖、索引、T-SQL語言、存儲過程和觸發(fā)器,數(shù)據(jù)庫的備份恢復(fù)與導(dǎo)入導(dǎo)出,SQL Server的安全管理等內(nèi)容。本書共分為緒論和6個項(xiàng)目,內(nèi)容包括數(shù)據(jù)庫基礎(chǔ)知識、“天意購物”數(shù)據(jù)庫設(shè)計(jì)與實(shí)現(xiàn)、“天意購物”數(shù)據(jù)庫中數(shù)據(jù)表的創(chuàng)建與管理、實(shí)現(xiàn)“天意購物”數(shù)據(jù)庫中數(shù)據(jù)的查詢、“天意購物”數(shù)據(jù)庫中視圖與索引的使用、程序設(shè)計(jì)和“天意購物”數(shù)據(jù)庫的安全與保護(hù)機(jī)制。本書由淺入深、理論聯(lián)系實(shí)際,在保證教材系統(tǒng)性和科學(xué)性的同時,注重實(shí)踐性和操作性。本書適合作為高等職業(yè)學(xué)校數(shù)據(jù)庫技術(shù)相關(guān)課程的教材,也可供數(shù)據(jù)庫開發(fā)人員參考。
本書所有的講解和例題都基于一個完整的工作項(xiàng)目,引導(dǎo)學(xué)生實(shí)踐。
劉玥,天津現(xiàn)代職業(yè)技術(shù)學(xué)院。
緒論...................................................................................................................................... 1
項(xiàng)目一 “天意購物”數(shù)據(jù)庫設(shè)計(jì)與實(shí)現(xiàn)................................................................................11
任務(wù)一 數(shù)據(jù)庫的規(guī)劃設(shè)計(jì) .....................................................................................................11
任務(wù)二 數(shù)據(jù)庫的創(chuàng)建.............................................................................................................14
任務(wù)三 數(shù)據(jù)庫的維護(hù).............................................................................................................19
綜合實(shí)訓(xùn)..................................................................................................................................30
項(xiàng)目二 “天意購物”數(shù)據(jù)庫中數(shù)據(jù)表的創(chuàng)建與管理............................................................. 32
任務(wù)一 創(chuàng)建數(shù)據(jù)表.................................................................................................................32
任務(wù)二 數(shù)據(jù)表記錄的編輯 .....................................................................................................47
任務(wù)三 數(shù)據(jù)表的維護(hù).............................................................................................................51
綜合實(shí)訓(xùn)..................................................................................................................................53
項(xiàng)目三 實(shí)現(xiàn)“天意購物”數(shù)據(jù)庫中數(shù)據(jù)的查詢.................................................................. 57
任務(wù)一 單表查詢 ....................................................................................................................57
任務(wù)二 多表查詢 ....................................................................................................................72
任務(wù)三 高級查詢 ....................................................................................................................81
綜合實(shí)訓(xùn)..................................................................................................................................85
項(xiàng)目四 “天意購物”數(shù)據(jù)庫中視圖與索引的使用................................................................. 86
任務(wù)一 視圖的創(chuàng)建、刪除和維護(hù)..........................................................................................86
任務(wù)二 索引的創(chuàng)建、刪除和維護(hù)..........................................................................................93
綜合實(shí)訓(xùn)................................................................................................................................101
項(xiàng)目五 程序設(shè)計(jì)............................................................................................................. 103
任務(wù)一 T-SQL 編程 ..............................................................................................................103
任務(wù)二 存儲過程 ..................................................................................................................114
任務(wù)三 觸發(fā)器 ......................................................................................................................122
綜合實(shí)訓(xùn)................................................................................................................................133
項(xiàng)目六 “天意購物”數(shù)據(jù)庫的安全與保護(hù)機(jī)制.................................................................. 134
任務(wù)一 數(shù)據(jù)庫安全...............................................................................................................134
任務(wù)二 數(shù)據(jù)庫的備份與還原 ...............................................................................................149
綜合實(shí)訓(xùn)................................................................................................................................161