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

正文內(nèi)容

20xx年學生宿舍管理系統(tǒng)數(shù)據(jù)庫設計案例(參考版)

2024-09-09 10:23本頁面
  

【正文】 創(chuàng)建各個功能的存儲過程 系統(tǒng)共創(chuàng)建了 16 個存儲過程,具體列表如下: 表 創(chuàng)建的存儲過程列表: 編號 存儲過程名稱 定 義 作用 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 表的大致相同,這里不再 具體列出 ) DJGFJKHF DKFH SKHF LHAK DHFHAKLH DJKHF JHFJK JKDHFKLH FKDH KFHDSKH FKLDSFL。H KFKL DHFDKH FKDS 數(shù)據(jù)入庫 系統(tǒng)包括宿舍學生基本信息管理、樓道工人基本信息管理、宿舍樓基本信息管理、宿舍基 本信息管理、宿舍事故基本信息管理、宿舍樓物品出入基本信息管理、宿舍樓保衛(wèi)處基本信息管理、宿舍配備物品及處理管理等八大功能模塊,共有 12 張基本表 ,牽涉到大量數(shù)據(jù)的錄入 ,又由于時間限制 ,采用事先在 Excel中錄入數(shù)據(jù) ,然后使用 SQL Server 2020 數(shù)據(jù)導入 /導出向導功能 ,直接 將數(shù)據(jù)導入到相應的基本表中。 create unique index SafeGuardName on SafeGuard(SGName)。 create cluster index StudentName on Student(StuName)。 create unique index RoomNo on Room(RNo)。 ( 11) 便于宿舍以外事故調(diào)查的視圖定義如下: create view ARView (編號,調(diào)查名稱,負責單位,調(diào)查結果 ) as select * from AccidentResearch with check option; ( 12) 方便宿舍事故賠償信息查詢和更改的視圖定義如下: create view ACView (編號,學號,賠償物品,日期,負責單位 ) as select * from AccidentCompensate with check option。H KFKL DHFDKH FKDS select * from FitmentDestruction with check option。 ( 7) 以便于物品出入管理和出入物品信息查詢、更新的視圖定義如下: create view ArIOView (學號,出入物品,負責人,日 期,序號,宿舍樓編號, 校區(qū),區(qū)位 ) as select * from ArticalInOut with check option。 ( 5) 用于查詢和更新學生基本信息的視圖定義如下: create view StuView (學號,學院,姓名,性別,祖籍,出生日期,入學時間, 專業(yè),班級,宿舍編號, 宿舍樓編號,校區(qū),區(qū)位 ) as select * from Student with check option。 ( 3) 顯示宿舍基本信息的視圖定義如下: create view RoomView (宿舍編號,舍長,年級,學院,專業(yè),宿舍樓編號, 校區(qū),區(qū)位 ) as select * from Room with check option。 ( 2) 方便于宿舍樓基本信息查詢、更新的 視圖定義如下: create view DormView (宿舍樓編號,校區(qū),區(qū)位,樓管處電話,樓管 ) as DJGFJKHF DKFH SKHF LHAK DHFHAKLH DJKHF JHFJK JKDHFKLH FKDH KFHDSKH FKLDSFL。 ( 12) 宿舍事故賠償基本信息表的建立: create table AccidentCopensate( AcNo int not null, ACStu char(9) not null, AcArtical char(30) not null, AcDate Datetime not null, SGName char(15) not null, foreign key(AcNo) references Accident(AcNo), foreign key(ACStu) references Student(StuNo), foreign key(SGName) references SafeGuard(SGName))。H KFKL DHFDKH FKDS AcVerify bool null, SGName char(15) not null, AcArNum int not null, AcStuPh char(12) not null, primary key(AcNo,AcDate), foreign key(StuNo) references Student(StuNo), foreign key(SGName) references SafeGuard(SGName), check(AcArNum 0),)。 ( 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))。H KFKL DHFDKH FKDS 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))。 ( 6) 宿舍保衛(wèi)處基本信息表的建立: create table SafeGuard( SGName char(15) not null unique, SGWorNum int not null, SGHeader char(10) not null, SGPhone char(12) null, primary key(SGName), check(SGWorNum 0))。H KFKL DHFDKH FKDS primary key(FitName), foreign key(DorNo, DorCampus, DorLocation) references Dormitory(DorNo, DorCampus, DorLocation))。 ( 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))。H KFKL DHFDKH FKDS 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 = ‘女 ’))。H KFKL DHFDKH FKDS 宿舍保衛(wèi)處基本信息的查詢和更新模塊 將實現(xiàn)對宿舍保衛(wèi)處基本信息的查詢和更新(包括更改、插入、刪除)操作,方便于宿舍 意外事故的處理,具體的功能模塊圖如下: 圖 宿舍樓保衛(wèi)處基本信息的查詢、更新功能模塊圖 5. 數(shù)據(jù)庫實施階段 建立數(shù)據(jù)庫、數(shù)據(jù)表、視圖、索引 建立數(shù)據(jù)庫 create database Student_Dormitory_Management。H KFKL DHFDKH FKDS 學生基本信息的查詢和更新模塊 將完成對學生基本信息的查詢和插入、刪除、修改等更新操作,具體的功能模塊如下所示: 圖 宿舍學生基本信息的查詢、更新功能模塊圖 宿舍物品的查詢和更新模塊 將實現(xiàn)對宿舍物品基本信息的查詢、插入、刪除、修改等操作,以方便于宿舍物品的配備,具體的功能模塊圖如下: DJGFJKHF DKFH SKHF LHAK DHFHAKLH DJKHF JHFJK JKDHFKLH FKDH KFHDSKH FKLDSFL。H KFKL DHFDKH FKDS 樓道工人基本的信息查詢和更新 模塊 將實現(xiàn)對樓道工人基本信息的查詢和更新(修改、插入、刪除)操作,方便于樓道工人的任用和更換,具體的功能模塊圖如下: 圖 樓道工人基本信息的查詢、更新功能模塊圖 (注: 表示系統(tǒng)給用戶的信息,以下與此相同 ) 宿舍樓基本信息的查詢和更新模塊 將完成對宿舍樓基本信息的查詢、更新(修改、插入、刪除)操作,便于宿舍的集中管理,具體的功能模塊圖如下所示: DJGFJKHF DKFH SKHF LHAK DHFHAKLH DJKHF JHFJK JKDHFKLH
點擊復制文檔內(nèi)容
公司管理相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1