Relational Database

2,450 views

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,450
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Relational Database

  1. 1. MOUNTAIN VIEW COMMUNITY HOSPITAL Submitted By: Anand Gehlot,Kshipra Thanvi,Udrek Gavale
  2. 2. CONTENTS:- PHASE IV Web Enabled DB Interface PHASE III SQL Programming PHASE II Logical Database Design PHASE I Data Modelling,Business Rules
  3. 3. MODELLING THE REQUIREMENTS : <ul><li>BUSINESS RULES: </li></ul><ul><li>PATIENT-PHYSICIAN </li></ul><ul><li>ROOM-BED </li></ul><ul><li>EMPLOYEE-CARE_CENTER </li></ul><ul><li>ORDER-ITEM-TREATMENT-VENDOR </li></ul><ul><li>FACILITY-SCHEDULE </li></ul>
  4. 4. ENHANCED E-R MODELLING <ul><li>REASONS TO MIGRATE: </li></ul><ul><li>Supertype / Subtype relationships </li></ul><ul><li>Specialization and generalization </li></ul><ul><li>Completeness/Disjoint Constraint </li></ul><ul><li>Track The History </li></ul><ul><li>Person---Patient---Nurse—Volunteer History </li></ul>
  5. 5. .
  6. 6. RELATIONAL SCHEMA & FUNCTIONAL DEPENDENCIES: <ul><li>What is relational Relational Data Model? </li></ul><ul><li>Functional Dependencies. </li></ul><ul><li>Well Structured Relation:Normalised in 3NF. </li></ul><ul><li>All Redundencies Removed. </li></ul>
  7. 7. REVISIONS IN EER
  8. 8. Creating The Database (Oracle 10g): <ul><li>CreateMVCH.sql </li></ul><ul><li>@@dropmvch.sql </li></ul><ul><li>@@mvch.tab </li></ul><ul><li>@@mvch.sqs </li></ul><ul><li>@@MVCHTriggers.sql </li></ul>
  9. 10. .
  10. 11. INSERING DATA:- <ul><li>Insert Data from a CSV file using SQL LOADER Utility. </li></ul><ul><li>The CSV File contains the sample data to be inserted into the table </li></ul><ul><li>he Control File:- </li></ul>
  11. 12. BATCH FILE:- <ul><li>Batch files allow MS-DOS and Microsoft Windows users to create a lists of commands to run in sequence once the batch file has been executed. For example, a batch file could be used to run frequently run commands, deleting a series of files, moving files, etc . </li></ul><ul><li>START/MAX </li></ul><ul><li>C:oracleproduct10.2.0db_1binsqlplusw.exe </li></ul><ul><li>scott/tiger @c:mvchcreatemvch.sql </li></ul><ul><li>sqlldr userid=scott/tiger control=&quot;C:mvchControlFilesperson.ctl&quot; </li></ul>
  12. 13. WEB INTERFACE:
  13. 14. Sequence Of Development <ul><li>Database:Oracle 10g 10.2 Enterprise Edition </li></ul><ul><li>http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html </li></ul><ul><li>JDK 1.6 Java Development Kit </li></ul><ul><li>http://www.oracle.com/technetwork/java/javase/downloads/index-jdk5-jsp-142662.html </li></ul><ul><li>IDE-Netbeans 6.9.1 </li></ul><ul><li>http://netbeans.org/features/index.html </li></ul><ul><li>APACHE 6 TOMCAT Server </li></ul><ul><li>http://tomcat.apache.org/download-60.cgi </li></ul><ul><li>OJDBC 6 </li></ul><ul><li>http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-111060 084321.html </li></ul>
  14. 15. … . <ul><li>DEMO </li></ul>

×