freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

學(xué)生宿舍管理系統(tǒng)數(shù)據(jù)庫(kù)計(jì)算機(jī)(參考版)

2025-05-17 22:14本頁(yè)面
  

【正文】 創(chuàng)建各個(gè)功能的存儲(chǔ)過程 系統(tǒng)共創(chuàng)建了 16 個(gè)存儲(chǔ)過程,具體列表如下: 表 創(chuàng)建的存儲(chǔ)過程列表: 編號(hào) 存儲(chǔ)過程名稱 定義 作用 P1 p1_Worker_Insert 詳見附錄 21 在 Worker 中插入一元組 P2 p2_Dormitory_Insert 詳見附錄 22 在 Dormitory 中插入一元組 P3 p3_Room_Insert 詳見附錄 23 在 Room 中插入一元組 P4 p4_Fitment_Inser 詳見附錄 24 在 Fitment 中插入一元組 P5 p5_Student_Insert 詳見附錄 25 在 Student 中插入一元組 P6 p6_SafeGuard_Insert 詳見附錄 26 在 SafeGuard 中插入一元組 P7 p7_Artical_In_Out_Insert 詳見附錄 27 在 ArticalInOut 中插入一元組 P8 p8_FitmentDestruction_Insert 詳見附錄 28 在 FitmentDestruction 中插入一元組 P9 p9_FitmentCompensate 詳見附錄 29 在 FitmentCompensate 中插入一元組 P10 p10_Accident_Insert 詳見附錄 210 在 Accident 中插入一元組 P11 p11_AccidentResearch_Insert 詳見附錄 211 在 AccidentResearch 中插入一元組 P12 p12_AccidentCompensate_Insert 詳見附錄 212 在 AccidentCompensate 中插入一元組 P13 p13_Query_Worker 詳見附錄 213 在 Worker 中匹配 (WorNo)查詢 P14 p14_Query_Worker 詳見附錄 214 在 Worker 中匹配 (WorName)查詢 P15 p15_Delete_Worker 詳見附錄 215 在 Worker 中刪除元組 P16 p16_Update_Worker 詳 見附錄 216 在 Worker 中更新操作 (其他表的查詢、修改、刪除與 Worker 表的大致相同,這里不再 具體列出 ) 6. 系統(tǒng)調(diào)試和測(cè)試 學(xué)生宿舍管理系統(tǒng)的測(cè)試主要采用黑盒測(cè)試和白盒 測(cè)試 的方法,具體的說黑盒測(cè)試主要采用以下兩種測(cè)試方法: 1. 已知 系統(tǒng)的功能設(shè)計(jì)規(guī)格,進(jìn)行測(cè)試證明每個(gè)實(shí)現(xiàn)了的功能是否符合要求; 2. 已知系統(tǒng)的內(nèi)部工作過程,通過測(cè)試證明每種內(nèi)部操作是否符合設(shè)計(jì)規(guī)格要求,所有內(nèi)部成分是否通過檢驗(yàn)。 數(shù)據(jù)入庫(kù) 2021 級(jí)計(jì)算機(jī) 3 班數(shù)據(jù)庫(kù)原理與應(yīng)用課程設(shè)計(jì)論文 29 系統(tǒng)包括宿舍學(xué)生基本信息管理、樓道工人基本信息管理、宿舍樓基本信息管理、宿舍基本信息管理、宿舍事故基本信息管理、宿舍樓物品出入基本信息管理、宿舍樓保衛(wèi)處基本信息管理、宿舍配備物品及處理管理等八大功能模塊,共 有 12 張基本表 ,牽涉到大量數(shù)據(jù)的錄入 ,又由于時(shí)間限制 ,采用事先在 Excel 中錄入數(shù)據(jù) ,然后使用 SQL Server 2021 數(shù)據(jù)導(dǎo)入 /導(dǎo)出向?qū)Чδ?,直接 將數(shù)據(jù)導(dǎo)入到相應(yīng)的基本表中。 create unique index FitmentName on Fitment(FitName)。 create unique index DormitoryNo_Campus_Location on Dormitory(DorNo desc, DorCampus, DorLocation)。 建立索引 create unique index StudentNo on Student(StuNo)。 ( 9) 用于查詢損壞物品賠償基本信息 ,便于宿舍物品管理的視圖定義如下: create view FCView (物品 名,學(xué)號(hào),負(fù)責(zé)人,日期,賠償數(shù)量 ) as select * from FitmentCompensate with check option; ( 10) 方便學(xué)生事故的注冊(cè)及保衛(wèi)人員對(duì)事故注冊(cè)查詢的視圖定義如下: create view AccView (編號(hào),事故類型,學(xué)號(hào),日期,損失物品,屬實(shí), 負(fù)責(zé)單位,損失數(shù)量,學(xué)生聯(lián)系方式 ) as select * from Accident with check option。 ( 7) 以便于物品出入管理和出入物品信息查詢、更新的視圖定義如下: create view ArIOView (學(xué)號(hào),出入物品,負(fù)責(zé)人,日期,序號(hào),宿舍樓編號(hào), 校區(qū),區(qū)位 ) as select * from ArticalInOut with check option。 ( 5) 用于查詢和更新學(xué)生基本信息的視圖定義如下: create view StuView (學(xué)號(hào),學(xué)院,姓名,性別,祖籍,出生日期,入學(xué)時(shí)間, 專業(yè),班級(jí),宿舍編號(hào), 宿舍樓編號(hào),校區(qū),區(qū)位 ) as select * from Student with check option。 ( 3) 顯示宿舍基本信息的視圖定義如下: create view RoomView (宿舍編號(hào),舍長(zhǎng),年級(jí),學(xué)院,專業(yè),宿舍樓編號(hào), 校區(qū),區(qū)位 ) as select * from Room with check option。 建立視圖 ( 1) 用于查詢和更新樓道工人基本信息的視圖定義如下: create view WorView(編號(hào),姓名,工作類型,工資,性別,聯(lián)系方式, 工作時(shí)間,宿舍樓編號(hào),校區(qū),區(qū)位 ) as select * from Worker with check option。 ( 11) 宿舍事故調(diào)查基本信息表的建立: create table AccidentResearch( AcNo int not null, ARName char(15) not null, SGName char(15) not null, ARResult bool not null, primary key(SGName), foreign key(AcNo) references Accident(AcNo), foreign key(SGName) references SafeGuard(SGName),)。 ( 9) 宿舍損壞配備物品賠償基本信息表的建立: create table FitmentCompensate( FitName char(16) not null, StuNo char(9) not null, FCPrin char(15) not null, FCompDate Datetime not null, FCompNum int not null, foreign key(FitName) references Fitment(FitName), foreign key(StuNo) references Student(StuNo), foreign key(FCPrin) references SafeGuard(SGName), check(FCompNum = 0))。 ( 7) 宿舍樓物品出入基本信息表的建立: create table ArticalInOut( StuNo char(9) not null, AIOArtical char(16) null, AIOPrin char(9) not null, AIODate datetime not null, AIONo int not null unique, DorNo smallint not null, DorCampus char(4) not null, 2021 級(jí)計(jì)算機(jī) 3 班數(shù)據(jù)庫(kù)原理與應(yīng)用課程設(shè)計(jì)論文 25 DorLocation char(4) not null, primary key(AIONo,AIODate), foreign key(StuNo) references Student(StuNo), foreign key(AIOPrin) references Worker(WorNo), foreign key(DorNo, DorCampus, DorLocation) references Dormitory(DorNo, DorCampus, DorLocation), check(AIONo 0))。 ( 5) 宿舍學(xué)生基本信息表的建立: create table Student( StuNo char(9) not null unique, DepName char(20) not null, StuName char(10) not null, StuSex char(2) not null, StuHome char(10) not null, StuBorth Datetime not null, StuETime Datetime not null, StuPerfect char(20) not null, StuClass int not null, RNo char(6) not null, DorNo smallint not null, DorCampus char(4) not null, DorLocation char(4) not null, primary key(StuNo), foreign key(RNo) references Room(RNo), foreign key(DorNo, DorCampus, DorLocation) references Dormitory(DorNo, DorCampus, DorLocation), check(StuClass0 and StuClass=10))。 ( 3) 宿舍基本信息表的建立: create table Room( RNo char(6) not null unique, RHeader char(10) null, RGrade char(4) not null, RDepart char(20) not null, RPerfect char(20) not null, DorNo smallint not null, DorCampus char(4) not null, DorLocation char(4) not null, primary key(RNo), foreign key(DorNo, DorCampus, DorLocation) references Dormitory(DorNo, DorCampus, DorLocation))。 建立數(shù)據(jù)表 ( 1) 樓道工人基本信息表的建立: create table Worker( WorNo char(5) not null unique, WorName char(10) not null, WorType char(8) not null, WorWage int not null, WorSex char(2) not null, 2021 級(jí)計(jì)算機(jī) 3 班數(shù)據(jù)庫(kù)原理與應(yīng)用課程設(shè)計(jì)論文 23 WorPhNo char(12) null, WorTime char(30) null, DorNo smallint not null, DorCampus char(4) not null, DorLocation char(4) not null, primary key(WorNo), foreign key(DorNo, DorCampus, DorLocation) references Dormitory(DorNo, DorCampus, DorLocation), check(WorWage = 0), check(WorSex = ‘男 ’ or WorSex = ‘女 ’))。 數(shù)據(jù) 存儲(chǔ)方面 為數(shù)據(jù)庫(kù)中各 基本 表建立的索引如下: 1. 由于基本表 Room, Student 的主碼 RNo, StuNo 經(jīng)常在查詢條件和連接操作的連接條件中出現(xiàn),且它們的值唯一,考慮在兩個(gè)屬性上建立唯一性索引; 2. Dormitory 的主碼 DorNo, DorCampus, DorLocation 經(jīng)常在查詢條件中
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1