婚姻介绍所管理系统设计k内容摘要:

约会时间 ttime 活动费用 ffee ⑦ 下划线表示主键 ⑧ 下划线斜 体为外键 约会提出方 tadvancedid 活动内容 contents 约会类型 ttype 活动状态 fstate 处理情况 disposalstate 使用 Power Designer根据图表 42设计完成的概念模型生成的物理模型如图表 43: [张 ] 确定数据库的内模式。 包括:数据表设计;数据表的完整性约束设计,即域完整性约束、实体完整性约束、参照完整性约束、用户自定义的完整性约束;视图设计;安全性设计、业务规则的实现等。 婚姻介绍所管理系统的数据表 SQL代码通过 Power Designer根据物理模型生 成。 下面是数据库的数据表的建立代码 ⑨ : /*==============================================================*/ /* DBMS name: Microsoft SQL Server 2020 */ /* Created on: 2020/1/3 10:02:56 */ /*==============================================================*/ if exists (select 1 from r join o on ( = and = 39。 F39。 ) where = object_id(39。 JoinFethersInformations39。 ) and = 39。 FK_JOINFORG_JOINFORGE_ASSOCIAT39。 ) alter table JoinFethersInformations drop constraint FK_JOINFORG_JOINFORGE_ASSOCIAT go if exists (select 1 from r join o on ( = and = 39。 F39。 ) where = object_id(39。 JoinFethersInformations39。 ) and = 39。 FK_JOINFORG_JOINFORGE_FORGETHE39。 ) alter table JoinFethersInformations drop constraint FK_JOINFORG_JOINFORGE_FORGETHE go if exists (select 1 from r join o on ( = and = 39。 F39。 ) where = object_id(39。 TrystInformations39。 ) and = 39。 FK_TRYSTINF_ASSOCIATO_ASSOCIAT39。 ) alter table TrystInformations drop constraint FK_TRYSTINF_ASSOCIATO_ASSOCIAT go if exists (select 1 from sysobjects where id = object_id(39。 View_LoginCheck39。 ) and type = 39。 V39。 ) drop view View_LoginCheck go if exists (select 1 from sysobjects ⑨ 数据库设计中的表设计,完整性约束,存储过程,安全性等的源代码 where id = object_id(39。 Associators39。 ) and type = 39。 U39。 ) drop table Associators go if exists (select 1 from sysobjects where id = object_id(39。 FetherInformations39。 ) and type = 39。 U39。 ) drop table FetherInformations go if exists (select 1 from sysindexes where id = object_id(39。 JoinFethersInformations39。 ) and name = 39。 JoinFethersInformations_Associators_FK39。 and indid 0 and indid 255) drop index go if exists (select 1 from sysindexes where id = object_id(39。 JoinFethersInformations39。 ) and name = 39。 JoinFethersInformations_FethersInfromations_FK39。 and indid 0 and indid 255) drop index FK go if exists (select 1 from sysobjects where id = object_id(39。 JoinFethersInformations39。 ) and type = 39。 U39。 ) drop table JoinFethersInformations go if exists (select 1 from sysindexes where id = object_id(39。 TrystInformations39。 ) and name = 39。 Associators_TrystInformations_FK39。 and indid 0 and indid 255) drop index go if exists (select 1 from sysobjects where id = object_id(39。 TrystInformations39。 ) and type = 39。 U39。 ) drop table TrystInformations go /*==============================================================*/ /* Table: Associators */ /*==============================================================*/ create table Associators ( aid int 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。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。