Click here to Skip to main content
15,888,351 members
Home / Discussions / Database
   

Database

 
GeneralRe: Date difference with total years, months and days Pin
Richard Deeming2-Jul-13 1:35
mveRichard Deeming2-Jul-13 1:35 
GeneralRe: Date difference with total years, months and days Pin
Tim Carmichael2-Jul-13 1:57
Tim Carmichael2-Jul-13 1:57 
GeneralRe: Date difference with total years, months and days Pin
Mycroft Holmes2-Jul-13 2:20
professionalMycroft Holmes2-Jul-13 2:20 
AnswerRe: Date difference with total years, months and days Pin
Tim Carmichael2-Jul-13 1:59
Tim Carmichael2-Jul-13 1:59 
QuestionKeep Client QL DB Updated Pin
Kevin Marois1-Jul-13 7:02
professionalKevin Marois1-Jul-13 7:02 
AnswerRe: Keep Client QL DB Updated Pin
Mycroft Holmes1-Jul-13 12:43
professionalMycroft Holmes1-Jul-13 12:43 
QuestionAutomatically open keys upon connection Pin
PIEBALDconsult28-Jun-13 7:58
mvePIEBALDconsult28-Jun-13 7:58 
QuestionDerived Fields Pin
eddieangel28-Jun-13 6:49
eddieangel28-Jun-13 6:49 
More of a poll than a real question, I guess, but here goes:

I have a database that contains information on how to, and how much it costs, to repair something. The cost is derived by adding the cost of all materials and all labor associated with a repair. The "defect" is stored in one table, and it's associated repair steps, materials, etc... are stored in other tables in a one to many relationship.

Long story short, every time I retrieve the cost of one of those defects, which is quite frequent, I have a UDF that figures the cost. I was thinking about storing that derived total cost as a field instead of processing the cost each time, as it would only be calculated each time the defect is changed or saved, vs. every single time someone requests the defect. I am generally a data purist and the thought of storing data I can derive chafes me, but it does seem like a lot of over processing.

What are your thoughts? Right now the table is only about 1500 records and it is unlikely to grow larger than that.
AnswerRe: Derived Fields Pin
Tim Carmichael28-Jun-13 7:12
Tim Carmichael28-Jun-13 7:12 
AnswerRe: Derived Fields Pin
PIEBALDconsult28-Jun-13 7:25
mvePIEBALDconsult28-Jun-13 7:25 
AnswerRe: Derived Fields Pin
Mycroft Holmes28-Jun-13 12:53
professionalMycroft Holmes28-Jun-13 12:53 
GeneralCrazy many data from database to array then a lot of calculation Pin
crunchor26-Jun-13 7:40
crunchor26-Jun-13 7:40 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
wizardzz26-Jun-13 8:20
wizardzz26-Jun-13 8:20 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
crunchor26-Jun-13 8:23
crunchor26-Jun-13 8:23 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
wizardzz26-Jun-13 8:26
wizardzz26-Jun-13 8:26 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
crunchor26-Jun-13 8:29
crunchor26-Jun-13 8:29 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
Ron Beyer26-Jun-13 8:25
professionalRon Beyer26-Jun-13 8:25 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
Marco Bertschi26-Jun-13 8:39
protectorMarco Bertschi26-Jun-13 8:39 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
Big Daddy Farang26-Jun-13 8:41
Big Daddy Farang26-Jun-13 8:41 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
Marco Bertschi26-Jun-13 21:10
protectorMarco Bertschi26-Jun-13 21:10 
AnswerRe: Crazy many data from database to array then a lot of calculation Pin
lewax0026-Jun-13 9:42
lewax0026-Jun-13 9:42 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
crunchor26-Jun-13 15:49
crunchor26-Jun-13 15:49 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
lewax0026-Jun-13 16:20
lewax0026-Jun-13 16:20 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
crunchor26-Jun-13 17:14
crunchor26-Jun-13 17:14 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
lewax0026-Jun-13 17:45
lewax0026-Jun-13 17:45 

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.