If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > DataBase Design-Immediate help confirms my job.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-01-10, 15:10
ganginenimurali ganginenimurali is offline
Registered User
 
Join Date: May 2010
Posts: 1
Question DataBase Design-Immediate help confirms my job.

Hi,

One interviewer asked me if any new requirement forces us to make a child table with primary and Foreign key relation, we can create one child table. But if we keep on going for creating new child tables like that whenever new requirement comes that is after 20 years or something,
What is the best way to create or design a database for considering future requirements also.

How can we make database design useful for future requirements also.How we can make database flexible. He also said there is a straightforward answer for this question. If i answer this question my job is going to confirm.

Please let me know anybody as early as possible the answer for this questions.


Sincerely
Murali Krishna.
Reply With Quote
  #2 (permalink)  
Old 05-01-10, 21:23
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
Quote:
Originally Posted by ganginenimurali View Post
What is the best way to create or design a database for considering future requirements also.
the absolute best way to design for future requirements is to get a rock solid handle on your PKs and FKs

if you're in the logical design stage, this means no autonumbers or surrogate keys -- not in the logical stage

make sure each table has a solid natural key
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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