Skip to main content
Participating Frequently
May 2, 2010
Question

Image tag for a tag cloud

  • May 2, 2010
  • 1 reply
  • 274 views

I'm curious:

I'd like to be able to tag pictures on my site and store those tags in the database (with the corresponding images).  What I'm not sure about is whether I can store more than one value in the table's "ImageTag" Column.  Or would i have to create multiple columns (i.e. Tag1, tag2, tag3)?  Or would the tags be stored separated by commas?

This topic has been closed for replies.

1 reply

Inspiring
May 2, 2010

Multiple records are always better than storing lists or having multiple columns in situations like this.  If you don't know why, I've heard good things about the book, Database Design for Mere Mortals.