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 > If one entity is dependent on another entity which is independent of the table...

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-02-11, 01:18
CAlexisT CAlexisT is offline
Registered User
 
Join Date: Aug 2011
Posts: 1
If one entity is dependent on another entity which is independent of the table...

If one entity is dependent on another entity which is independent of the table, or a fixed value, where does the fixed value go? It's own table?

If I didn't need to do math with it, I think I would be able to ignore it, but if for instance I wish to find ActualAmt, a field dependent on Price and SalesTax, when the DB user only operates in one state, where would SalesTax go?

Grazi
Reply With Quote
  #2 (permalink)  
Old 08-04-11, 04:28
dbGuyo dbGuyo is offline
Registered User
 
Join Date: Jul 2011
Posts: 9
If I got the question correctly, either you have to hard code the SalesTax in your program, or put all your constants in a mapping table that can be preset by default values and can be changed by the user through a suitable UI.

BTW, by mapping table, I mean a two-attribute relation that in one column you put the name of the constant and in the other the value.

Does this work for you?
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