- 0
- 0
- 约4.38千字
- 约 5页
- 2017-01-10 发布于辽宁
- 举报
CreatinganERDusingMicrosoftVISIO.doc
Creating an ERD using Microsoft VISIO
In this exercise, you’ll use VISIO to create the ERD shown here.
Open VISIO. Select Software and Database from the list of template categores (shown on the left). Select Database Model Diagram. (If you don’t see the option to select a drawing type, select File from the menu bar then select New … Software and Database from the list of templates. If you don’t every see Software and Database as a template option, you probably don’t have the correct version of Visio installed. Use a computer in the BC lab.)
Drag-n-drop an entity from the Shapes panel (on the left) into the drawing grid (on the right). Change the generic name initially provided by typing “Patient” for the Physical name and Conceptual Name in the Database Properties panel (lower right).
In the Database Properties panel, switch to the Columns category. Type the name of an column (an attribute). Type FNAME then click the Edit button to change the default fields size of 10 characters.
Select the Data Type tab and change the field length to 12 and switch from “fixed length” to “variable length.”
Enter the columns names shown here.
Modify the Patient_ID column data type as shown below. Reduce the “precision” of the field which give the total number of digits the field can have. Set the scale to zero, which means only integers will be stored. (The scale value determines how many digits to the right of the decimal place are allowed.)
Also, make the patient name fields required (see above) and make Patient_ID the primary key (PK).
Create a second entity called Appointment and create the columns as shown below. Designate all the columns as required and mark Appt_ID as the primary key.
Create a relationship between the PATIENT and APPOINTMENT entities. What is this relationship?
Any one patient (Bill Jones, for example) may have no appointments but may have many.
Any one appointment (#
您可能关注的文档
- 102年度台中市国民小学暑期分区「英语国际生活营」实施计画.doc
- 2013-2017年猪肉行业竞争格局与投资战略研究咨询报告.doc
- 2013—2014年民乐一中高三五月诊断文综政治试卷.doc
- 6计算机辅助生产与质量管理.ppt
- AMeasurementStudyofVehicularInternetAccessUsingIn.ppt
- ANDCHEMICALPROPERTIESONTHEINTERNET.ppt
- BasicPricingPrinciple&theInternet.ppt
- CISCOINTERNETLEARNINGSOLUTIONSFORPRODUC.ppt
- DecodingandUnderstandingInternetWorms.ppt
- InternetandNetworkingTerms.ppt
- 小区绿化施工协议书.docx
- 墙面施工协议书.docx
- 1 古诗二首(课件)--2025-2026学年统编版语文二年级下册.pptx
- (2026春新版)部编版八年级道德与法治下册《3.1《公民基本权利》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《4.3《依法履行义务》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《6.2《按劳分配为主体、多种分配方式并存》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《6.1《公有制为主体、多种所有制经济共同发展》PPT课件.pptx
- 初三教学管理交流发言稿.docx
- 小学生课外阅读总结.docx
- 餐饮门店夜经济运营的社会责任报告(夜间贡献)撰写流程试题库及答案.doc
最近下载
- 四年级音乐下册欣赏《包粽子》《欢乐的夜晚》教案苏教版.pdf VIP
- 电镀加工项目可行性研究报告.docx VIP
- 第三单元第二章植物体内的物质与能量变化【速记清单】.docx
- 高大模板工程施工与支撑体系专项方案.docx VIP
- 春节后复工复产方案.doc VIP
- 中建协QC汇编_3-福州建工-提高大面积冷库墙体保温层施工质量——福州建工(集团)总公司.doc VIP
- Q SHB 0003-2016_全自动滚筒洗衣机玻璃观察窗.pdf VIP
- 电力工程安全协议书.doc VIP
- 2019年青海省中考数学试卷【原卷版】材料.pdf VIP
- AI驱动的组织重构与业务重构:绚星智慧科技AI实践白皮书.docx VIP
原创力文档

文档评论(0)