【正文】
加對應(yīng)項用以表示圖書當前的狀態(tài),現(xiàn)在增加39。剩余數(shù)量39。項。 (三)數(shù)據(jù)庫及表結(jié)構(gòu)的創(chuàng)建 設(shè)本系統(tǒng)使用的數(shù)據(jù)庫名為圖書管理系統(tǒng),根據(jù)已設(shè)計的關(guān)系模式及各模式的完整性要求,現(xiàn)在就可以在 SQL Server 2005 數(shù)據(jù)庫系統(tǒng)中實現(xiàn)這些邏輯結(jié)構(gòu)。下面是創(chuàng)建基本表的 SQL 語句:create table 讀者信息(borrownumber char(10) not null primary key,number char(10) not null,password char(10) not null,mname char(30) not null, sex char(5), class char(50) , char(50), remark char(100) , )create table 管理人員信息( worknumber char(10) not null primary key, password char(10) not null, mname char(30) not null, sex char(5), telephone char(11) , ) create table 借閱圖書信息(booknumber char(10) not null primary key,borrownumber char(10) not null primary key,rname char(30) not null,bookname char(50) not null, borrowamount char(10) not null,borrowtime datetime not null, returntime datetime, overtime char(5), ) create table圖書信息( booknumber char(10) not null primary key,bookname char(50) not null,writer char(30) not null,publishplace char(50) not null,price float not null,category char(30) not null,amount tinyint not null,publishtime datetime, remainderamoun tinyint not null,)四、物理結(jié)構(gòu)設(shè)計數(shù)據(jù)庫在物理設(shè)備上的存儲結(jié)構(gòu)與存取方法成為數(shù)據(jù)庫的物理結(jié)構(gòu),它依賴 于選定的數(shù)據(jù)庫管理系統(tǒng)。為一個給