Is there any issue in storing the values in SQL Server DB as comma separated values?
I have 100 categories and for each category I have 500 products. My initial thinking is store the product codes in a comma separated values so that only 100 records will come in table:
catagcd1 - prod1,prod2,prod3......
catagcd2 - prod2,prod3,prod5......
But when I ask my friend: don't store it as a comma separated, store as a normal structure. That means:
catagcd1 - prod1
catagcd1 - prod2
catagcd1 - prod3
catagcd2 - prod2
----------------
----------------
What is the difference between my way and his? And what is the difference from a performance point of view also? Can you please explain?