PetShop3.x学习笔记4-SQLServer_DB Architec Design
来源:互联网 发布:乐高编程软件ios下载 编辑:程序博客网 时间:2024/06/06 19:06
[转] PetShop3.x学习笔记4-SQLServer_DB Architec Design
一、 SQLServer_DB Architec主要功能:
1、 数据库架构设计
二、 实现细节:
1、 注意看,什么是数据库架构图!!!
2、 使用SQLServer自带的“数据库关系图”功能直接就可以进行数据库建模!!!!!!在数据库关系图中生成的关系图实际上就是数据模型,可以直接保存回数据库,创建相应的表及表间的关系!!!!!!
3、 学习了给单独的数据库分配管理员和管理权限!!!!!!
三、 启发:
1、 在设计数据库表的时候,如果添加了“外键关系”,则在进行Visio反向工程的时候就可以显示出来这个关系
2、 可以看到,“关系”是可以在程序(如ADO.NET的DataSet)中写入的,还可以在进行数据库设计的过程中进行定义。关系也可以看作“实体”进行操作!
3、 要研究使用Visio进行数据库建模,并将完成的数据模型直接创建在SQLServer中的方法
四、 问题:
1、 在做自己程序的数据库设计的时候,也要将ID字段设置为varchar(10)?PetShop这样设计的目的是什么?
2、 我用Visio做的数据库建模,如何直接在SQLServer数据库中生成表和关系?
3、 数据库架构图是怎么得到的???(上边已有答案)
4、 问题来了,为什么要这样进行数据库建模?!
- PetShop3.x学习笔记4-SQLServer_DB Architec Design
- PetShop3.x学习笔记4-SQLServer_DB Architec Design
- PetShop3.x学习笔记4-SQLServer_DB Architec Design
- PetShop3.x学习笔记4-SQLServer_DB Architec Design
- PetShop3.x学习笔记1-Model
- PetShop3.x学习笔记2-IDAL
- PetShop3.x学习笔记3-Utility
- PetShop3.x学习笔记1-Model
- PetShop3.x学习笔记2-IDAL
- PetShop3.x学习笔记3-Utility
- PetShop3.x学习笔记1-Model
- PetShop3.x学习笔记2-IDAL
- PetShop3.x学习笔记3-Utility
- PetShop3.x学习笔记3-Utility
- PetShop3.x学习笔记2-IDAL
- PetShop3.x学习笔记1-Model
- PetShop3.x学习笔记6-SQLServer学习笔记
- PetShop3.x学习笔记6-SQLServer学习笔记
- 学会放弃
- PetShop3.x学习笔记2-IDAL
- tomcat5.0虚拟目录的设置
- 数据库记录的行列转换
- PetShop3.x学习笔记3-Utility
- PetShop3.x学习笔记4-SQLServer_DB Architec Design
- PetShop3.x学习笔记5-我读cocoboy79《MS PetShop 3.x 设计与实现——数据访问层》
- 自定义IE浏览器地址栏前的IE图标
- Thinking in C++ (1-5)
- [转]C/C++语言void及void指针深层探索
- 狗咬狗要开始了?
- 2006年7月16日 开始复习Java
- Linux操作系统下串口编程入门教程
- 输出固定的格式