Solved

Should I use a relational design for this?

Posted on 2016-09-15
3
52 Views
Last Modified: 2016-09-15
We have two contact forms, billing and contact. I am going to store recipient emails into a database so the manager can configure who she wants to receive emails.

Should I have a table called billing and a table called contact?

Or should I have a table that stores all emails and another table with form names, with form ID being a foreign key in the emails table?

I'm also a little confused by 3NF and not sure if this design would pass 3NF.
0
Comment
Question by:burnedfaceless
3 Comments
 
LVL 39

Assisted Solution

by:lcohan
lcohan earned 250 total points
ID: 41800298
In my opinion the best is to split them and have Contact table and ContactBilling table linked by ContactId. Both would have their own PKeys and FK from Contact to ContactBilling on ContactId. This way you could build up the structure and add other tables linked to Contact as needed instead of just adding a gazillion of columns to the same Contact table.
0
 
LVL 45

Accepted Solution

by:
Kdo earned 250 total points
ID: 41800300
The database will be a lot more flexible if you'll make them separate tables.

It may be possible that the same email address is used by multiple entities.  Normalizing the email addresses into another table will allow you to update ALL billing records that use the same email address if that address ever changes.  You'll reduce the overall size of the database.


Good Luck!
Kent
0
 

Author Closing Comment

by:burnedfaceless
ID: 41800305
Thanks
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now