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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-05-11, 14:16
christosch christosch is offline
Registered User
 
Join Date: Aug 2011
Posts: 2
Database Design

Hello,

I have two web forms, one form is a subset of the other form, but they are essentially two different type of requests. And I'm thinking how to design the database.

should i create three tables? One main that holds who submitted it etc and two seperate tables to hold the form information?

should i create just one table that holds all the information?

should i create two tables; one for the information who submitted and one for the form data?

Thanks in advance
Reply With Quote
  #2 (permalink)  
Old 08-05-11, 14:50
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
Think about how your data represents "things" in the real world. There should be one table for each "thing" you manipulate, although that could be more or sometimes less than the number of forms on your screen.

-PatP
__________________
In theory, theory and practice are identical. In practice, theory and practice are unrelated.
Reply With Quote
Reply

Tags
db design

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