Solved

Should I use a relational design for this?

Posted on 2016-09-15
3
71 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 40

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:
Kent Olsen 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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
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…

739 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