Database theory hel...
 

Subscribe now and choose from over 30 free gifts worth up to £49 - Plus get £25 to spend in our shop

[Closed] Database theory help

9 Posts
7 Users
0 Reactions
209 Views
 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 10:47 am
Posts: 3491
Free Member
 

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


 
Posted : 02/02/2017 10:50 am
Posts: 17303
Free Member
 

Granularity?


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

Granularity?

Edit: gah beaten by 8 seconds 🙂


 
Posted : 02/02/2017 10:50 am
Posts: 17303
Free Member
 

Jinx!


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

Granularity - I'll have that!


 
Posted : 02/02/2017 10: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 10:59 am
 IHN
Posts: 19857
Full Member
 

But I'd be splitting it into another table.

Why?


 
Posted : 02/02/2017 11:02 am
Posts: 1817
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 11:35 am
Posts: 1508
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 11:38 am