【正文】
not null, password varchar(20) null, name varchar(20) not null, sex bit not null, birthday datetime not null, age int null, image image not null, luckanimal varchar(2) null, constellation varchar(6) null, nation varchar(20) not null, identitycard varchar(18) not null, politicsstate varchar(20) null, county varchar(20) null, homeadd varchar(20) not null, residence varchar(10) null, height real null, weight real null, bodytape varchar(20) null, healthstate varchar(6) not null, edubackground varchar(6) not null, major varchar(20) null, college varchar(20) null, inemonth int not null, familymembers varchar(20) not null, housestate varchar(6) null, carstate varchar(6) null, marriagestate varchar(6) not null, workunit varchar(20) not null, unitquality varchar(20) null, profession varchar(20) null, appellation varchar(20) null, workadd varchar(20) null, characters varchar(6) null, 使用了 character數(shù)據(jù)類型關鍵字,現(xiàn)在改為 characters interest varchar(20) null, skill varchar(20) null, phone varchar(11) not null, qq varchar(10) not null, varchar(50) not null, jointime datetime not null, updatetime datetime not null, states varchar(6) not null, 使用了 state關鍵字,現(xiàn)在給為 states trystcounts int null, constraint PK_ASSOCIATORS primary key nonclustered (aid) ) go declare CurrentUser sysname select CurrentUser = user_name() execute sp_addextendedproperty 39。 and indid 0 and indid 255) drop index go if exists (select 1 from sysobjects where id = object_id(39。) drop table JoinFethersInformations go if exists (select 1 from sysindexes where id = object_id(39。 and indid 0 and indid 255) drop index FK go if exists (select 1 from sysobjects where id = object_id(39。 and indid 0 and indid 255) drop index go if exists (select 1 from sysindexes where id = object_id(39。) drop table FetherInformations go if exists (select 1 from sysindexes where id = object_id(39。) drop table Associators go if exists (select 1 from sysobjects where id = object_id(39。) drop view View_LoginCheck go if exists (select 1 from sysobjects ⑨ 數(shù)據(jù)庫設計中的表設計,完整性約束,存儲過程,安全性等的源代碼 where id = object_id(39。) alter table TrystInformations drop constraint FK_TRYSTINF_ASSOCIATO_ASSOCIAT go if exists (select 1 from sysobjects where id = object_id(39。) where = object_id(39。) and = 39。) alter table JoinFethersInformations drop constraint FK_JOINFORG_JOINFORGE_ASSOCIAT go if exists (select 1 from r join o on ( = and = 39。) where = object_id(39。 包括:數(shù)據(jù)表設計;數(shù)據(jù)表的完整性約束設計,即域完整性約束、實體完整性約束、參照完整性約束、用戶自定義的完整性約束;視圖設計;安全性設計、業(yè)務規(guī)則的實現(xiàn)等。 } } 4. 婚姻介紹所管理信息系統(tǒng)數(shù)據(jù)庫設計 數(shù)據(jù)庫設計 ⑤ 本系統(tǒng)的數(shù)據(jù)庫的創(chuàng)建使用了 。 ()。 rs = ()。 ResultSet rs = null。 break。 break。 break。 sqls[2] = Execute Up_job_information + aid。 // 查詢婚介所的活動 public JTable queryFetherInfo() throws Exception。 // 增加用戶信息操作,添加注冊用戶 public void insertRegister(Associators associators) throws Exception。 } } } 基于對數(shù)據(jù)庫的操作使用接口,下面是對數(shù)據(jù)庫操作的部分接口: package 。 } catch (Exception e) { ()。 private final String DBPASSWORD = sa。 import 。 數(shù)據(jù)量 會員人數(shù)的一半 存取方式 根據(jù)會員的身份號碼 數(shù)據(jù)存儲描述 數(shù)據(jù)存儲名 FetherInformation活動信息表 說明 工作人員添加婚姻介紹所的活動 流入數(shù)據(jù)流 工作人員添加婚姻介紹所的活動, 更新活動的狀態(tài) 流出數(shù)據(jù)流 會員查看參加活動信息 組成 活動編號,活動地點,活動時間,活動費用 ,活動內(nèi)容,活動狀態(tài) 數(shù)據(jù)量 基于婚姻介紹所的每年活動數(shù)量,預估 24條記錄 存取方式 基于活動編號 數(shù)據(jù)存儲描述 數(shù)據(jù)存儲名 Associators會員基本信息表 說明 存儲會員的基本信