1 / 5

SQL SERVER 2005 Chapter 6 建立資料庫

SQL SERVER 2005 Chapter 6 建立資料庫. 袁國硯. 1. 請建立一資料庫名為 工管系學生資料 邏輯名稱 = 工管系學生資料 _1, 檔案路徑及名稱 =’C:DATA 工管系學生資料 .MDF’, 起始大小 =50MB, 最大容量 =100MB, 成長數量 =10 完成後如圖 2 所示 2. 請修改資料庫名稱 工管系學生資料 修改為 全校學生資料 完成後如圖 3 所示 3. 請建立一資料庫名為 圖書館書籍資料 , 此資料庫需設為 Primary, 邏輯名稱為 = 圖書館書籍資料 _1,

Download Presentation

SQL SERVER 2005 Chapter 6 建立資料庫

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SQL SERVER 2005Chapter 6建立資料庫 袁國硯

  2. 1.請建立一資料庫名為 工管系學生資料 邏輯名稱=工管系學生資料_1, 檔案路徑及名稱=’C:\DATA\工管系學生資料.MDF’, 起始大小=50MB, 最大容量=100MB, 成長數量=10 完成後如圖2所示 2.請修改資料庫名稱 工管系學生資料 修改為 全校學生資料 完成後如圖3所示 3.請建立一資料庫名為 圖書館書籍資料, 此資料庫需設為Primary, 邏輯名稱為=圖書館書籍資料_1, 路徑及檔案名稱=‘C:\DATA\圖書館書籍資料.MDF’ 完成後結果如圖4所示 4.請修改資料庫名稱 圖書館書籍資料 做增加一個邏輯檔案的動作 邏輯檔案名稱=圖書館書籍資料_2, 路徑及檔案名稱’C:\DATA\圖書館書籍資料_2.LDF’ 完成後結果如圖5所示

  3. 圖2 圖3

  4. 圖4 圖5

  5. 請建一資料庫名為 Practice(主資料檔邏輯名稱為 Practice1,檔案名稱及路徑為 ‘C:\DATA\Practice1.MDF’,容量為=10,最大容量=50,成長大小為5),(副資料檔邏輯名稱為 Practice2,檔案名稱及路徑為 ‘C:\DATA\Practice2.NDF’,容量為=5,最大容量=10,成長大小為5), 請建立一檔案群組為FILEGROUP Practice_檔案1(副資料檔邏輯名稱為 Practice_檔案1,檔案名稱及路徑為 ‘C:\DATA\Practice_檔案1.NDF’,容量為=40,最大容量=70,成長大小為5) 請將剛剛所建立之資料庫PRACTICE的副資料檔PRACTICE2做刪除 請將剛剛所刪除之副資料檔PRACTICE2做附加,路徑為’c:\DATA\PRACTICE2.LDF’ 請修改資料庫名稱為PRACTICE00

More Related