Click here to Skip to main content
15,909,030 members
Home / Discussions / Database
   

Database

 
AnswerRe: A question about design Relational Model Pin
Keith Barrow3-Apr-11 2:33
professionalKeith Barrow3-Apr-11 2:33 
QuestionRe: A question about design Relational Model Pin
Eddy Vluggen3-Apr-11 20:45
professionalEddy Vluggen3-Apr-11 20:45 
AnswerRe: A question about design Relational Model Pin
Keith Barrow3-Apr-11 22:17
professionalKeith Barrow3-Apr-11 22:17 
AnswerRe: A question about design Relational Model Pin
Eddy Vluggen4-Apr-11 0:15
professionalEddy Vluggen4-Apr-11 0:15 
GeneralRe: A question about design Relational Model Pin
Keith Barrow4-Apr-11 0:29
professionalKeith Barrow4-Apr-11 0:29 
AnswerRe: A question about design Relational Model Pin
Eddy Vluggen4-Apr-11 8:27
professionalEddy Vluggen4-Apr-11 8:27 
GeneralRe: A question about design Relational Model Pin
Klaus-Werner Konrad5-Apr-11 7:43
Klaus-Werner Konrad5-Apr-11 7:43 
GeneralRe: A question about design Relational Model Pin
Eddy Vluggen5-Apr-11 8:05
professionalEddy Vluggen5-Apr-11 8:05 
Klaus-Werner Konrad wrote:
If a value can be composed from other values, COMPOSE it

If the original data can be reconstructed from that resulting data, you'll be able to reverse that process.

Klaus-Werner Konrad wrote:
, or you will denormalize the DB !!!

Not according to the theories of Codd.

Klaus-Werner Konrad wrote:
This is (should be) only allowed, if the normal form takes some time for calculation, and the application is time critical.

1) Allowed by whom? If it's my responsibility, then I'll model as I think is correct - if it were something that could simply be "decided" once and for all, they'd put it in a servicepack and be done with it.
2) Has nothing to do with speed.
3) Whether a column is calculated doesn't say anything about the fact "when" it's going to be calculated.

Klaus-Werner Konrad wrote:
If this is the case, you should use INSERT and UPDATE triggers to ensure the data consistence

That would be modeled as a calculated column in the conceptual model. The physical model might specify your solution, but it may also choose from a whole galaxy of other options. Like not including the column at all, and have the calculation in code.
I are Troll Suspicious | :suss:

GeneralRe: A question about design Relational Model Pin
Klaus-Werner Konrad5-Apr-11 8:10
Klaus-Werner Konrad5-Apr-11 8:10 
GeneralRe: A question about design Relational Model Pin
Klaus-Werner Konrad5-Apr-11 8:32
Klaus-Werner Konrad5-Apr-11 8:32 
GeneralRe: A question about design Relational Model Pin
Eddy Vluggen5-Apr-11 9:18
professionalEddy Vluggen5-Apr-11 9:18 
GeneralRe: A question about design Relational Model Pin
Klaus-Werner Konrad13-Apr-11 12:44
Klaus-Werner Konrad13-Apr-11 12:44 
GeneralRe: A question about design Relational Model Pin
Eddy Vluggen14-Apr-11 20:26
professionalEddy Vluggen14-Apr-11 20:26 
GeneralRe: A question about design Relational Model Pin
SilimSayo4-May-11 10:38
SilimSayo4-May-11 10:38 
GeneralRe: A question about design Relational Model Pin
SilimSayo4-May-11 10:33
SilimSayo4-May-11 10:33 
GeneralRe: A question about design Relational Model Pin
Eddy Vluggen4-May-11 11:05
professionalEddy Vluggen4-May-11 11:05 
GeneralRe: A question about design Relational Model Pin
SilimSayo11-May-11 10:07
SilimSayo11-May-11 10:07 
GeneralRe: A question about design Relational Model Pin
Eddy Vluggen11-May-11 10:18
professionalEddy Vluggen11-May-11 10:18 
GeneralRe: A question about design Relational Model Pin
SilimSayo11-May-11 12:49
SilimSayo11-May-11 12:49 
AnswerRe: A question about design Relational Model Pin
Shameel5-Apr-11 5:32
professionalShameel5-Apr-11 5:32 
GeneralRe: A question about design Relational Model Pin
Klaus-Werner Konrad13-Apr-11 12:49
Klaus-Werner Konrad13-Apr-11 12:49 
QuestionConnection string for database on another comouter Pin
wjbjnr2-Apr-11 21:54
wjbjnr2-Apr-11 21:54 
AnswerRe: Connection string for database on another comouter Pin
Wendelius2-Apr-11 22:30
mentorWendelius2-Apr-11 22:30 
GeneralRe: Connection string for database on another comouter Pin
wjbjnr3-Apr-11 5:08
wjbjnr3-Apr-11 5:08 
GeneralRe: Connection string for database on another comouter Pin
Wendelius3-Apr-11 5:57
mentorWendelius3-Apr-11 5:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.