Reply
Database Design Problem
Old 08-09-2007, 02:34 AM Database Design Problem
Junior Talker

Posts: 4
Hello all . . .

I need your help plz . . .



In the above schema i have the table SYSTEMATIC_RASH_EPISODES witch storing for any of the columns after the column SYRE_PATIENT_ID only Boolian values. This table get a record each time the patient goes to the doctor.

Now what is the problem ? ? ?

For each of the boolean columns of the table SYSTEMATIC_RASH_EPISODES witch the value is true the doctor mast create three sub-records with the drugs(medicens) that must gve t the patient.

How can i do that ? ? ?
merianos is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 08-10-2007, 01:02 PM Re: Database Design Problem
Learning Newbie's Avatar
Moderator

Posts: 4,880
Name: John Alexander
Creating N sub-records generally means creating a new table with a foreign key ( SYRE_ID in this case ) to connect it back to your main ( Systematic_Rash_Episodes ) table.
__________________
4 ways to improve the lives of the "bottom billion"

"HEY YOU KIDS GET OFF MY LAWN!" -John McCain
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Database Design Problem
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11386 seconds with 13 queries