Database theory hel...
 

[Closed] Database theory help

 Earl
Posts: 1902
Free Member
Topic starter
 

i'm looking for the word that is used to describe the following.

I have a table with columns:
-WeekNumber
-Cost (total cost per week)

I have changed the table def to be:
-WeekNumber
-DayOfWeek
-Cost (Total cost per day)

Effectively i have increased the level of detail of each record. What is the correct term for this? Cardinality comes to mind but i just googled it and I don't think its correct.


 
Posted : 02/02/2017 11:47 am
Posts: 3582
Free Member
 

It's kind of rationalisation. Ish.
But I'd be splitting it into another table.


 
Posted : 02/02/2017 11:50 am
Posts: 17313
Free Member
 

Granularity?


 
Posted : 02/02/2017 11:50 am
Posts: 31206
Full Member
 

Granularity?

Edit: gah beaten by 8 seconds ๐Ÿ™‚


 
Posted : 02/02/2017 11:50 am
Posts: 17313
Free Member
 

Jinx!


 
Posted : 02/02/2017 11:50 am
 Earl
Posts: 1902
Free Member
Topic starter
 

Granularity - I'll have that!


 
Posted : 02/02/2017 11:57 am
 Earl
Posts: 1902
Free Member
Topic starter
 

But I'd be splitting it into another table.

Ok instead of table - I actually meant recordset otherwise a new table would have been on the cards.

Thanks all.


 
Posted : 02/02/2017 11:59 am
 IHN
Posts: 20093
Full Member
 

But I'd be splitting it into another table.

Why?


 
Posted : 02/02/2017 12:02 pm
Posts: 1847
Full Member
 

what sort of data types are weeknumber and dayofweek and how are they to be used

I'm asking as I don't understand your reqts(or the facilities you have) so the following might be tosh but using date types might make more sense if you want to query/sort/order/group etc the data based on date type criteria.


 
Posted : 02/02/2017 12:35 pm
Posts: 1526
Full Member
 

Depends on who you communicate this to... could also be termed a random act of sabotage depending on who consumes the row ๐Ÿ™‚


 
Posted : 02/02/2017 12:38 pm