R
rodchar
hey all,
i have an expense table like followed:
Name,Date,Amt
-------------------
McDonald's,10/5/2007,3.99
i'd like to attach some type of category to it and here's what i have so far:
CategoryTable
CatID,Name,SCatID(?)
--------------
1,Food
SubCategoryTable
SCatID,Name,CatID
-----------------------
1,Restaurant,1
2,Grocery,1
Does this design look good so far? i'm thinking subcategory is what i'll
need to attach to the expense tabe, right? or does subcategory and category
tables need to be just one table?
thanks,
rodchar
i have an expense table like followed:
Name,Date,Amt
-------------------
McDonald's,10/5/2007,3.99
i'd like to attach some type of category to it and here's what i have so far:
CategoryTable
CatID,Name,SCatID(?)
--------------
1,Food
SubCategoryTable
SCatID,Name,CatID
-----------------------
1,Restaurant,1
2,Grocery,1
Does this design look good so far? i'm thinking subcategory is what i'll
need to attach to the expense tabe, right? or does subcategory and category
tables need to be just one table?
thanks,
rodchar