目 录
一、引言 ........................................................................................................................................................................7
1.1 编写目的........................................................................................................................................................7
1.2 参考资料........................................................................................................................................................7
二、 需求规约............................................................................................................................................................8
2.1 业务描述..............................................................................................................................................................8
2.2 需求分析..............................................................................................................................................................8
三、 数据库环境说明................................................................................................................................................9
四、 数据库的命名规则............................................................................................................................................9
4.1 数据库对象命名规则..........................................................................................................................................9
4.2 数据项编码规则..................................................................................................................................................9
五、 逻辑设计..........................................................................................................................................................10
5.1 创建数据库系统的关系模型……………………………………………………………………………11
六、 物理设计..........................................................................................................................................................12
6.1 表汇总..........................................................................................................................................................12
6.2 表总汇..........................................................................................................................................................13
6.3 视图的设计..................................................................................................................................................19
6.4 存储过程、函数及触发器的设计..............................................................................................................21
七、 安全性设计......................................................................................................................................................23
7.1 防止用户直接操作数据库的方法..............................................................................................................24
7.2 用户帐号密码的加密方法..........................................................................................................................24
7.3 角色与权限..................................................................................................................................................25
八、 数据库管理与维护说明..................................................................................................................................25
九、总结…………………………………………………………………………………………………………25
十.附录………………………………………………………………………………………………………..26