meerabhuva wrote:
WriteCategory - int - metadata value ( Binary number for eg. 2)
That's one way, but it will limit you to thirty-two categories. Better to have a Category table and allow many-to-many relationships with Books and Authors. Category ID Description 1 Mystery 2 Romance 3 Sci-Fi Author ID Name 1 Douglas Adams AuthorCategory AuthorID CategoryID 1 3 <-- Douglas Adams + Sci-Fi Book ID Title 1 The HitchHikers... BookCategory BookID CategoryID 1 3 <-- The HitchHikers... + Sci-Fi