Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
HiIn the past, I've been happy working with relationship tables where I store the ID of a value from another table. Simple. But what is the best way to store multiple selections - for example, the user selects all appropriate. In this case, I won't know how many (if at all), and what data type would I use?Many thanksRichardRichard Law
dataguru1971
Master Smack Fu Yak Hacker
1464 Posts
Posted - 2011-02-20 : 21:34:57
That question makes little sense. I am not sure you will get answer. Why does datatype matter for what a user selects?Poor planning on your part does not constitute an emergency on my part.
LoztInSpace
Aged Yak Warrior
940 Posts
Posted - 2011-03-03 : 00:03:03
I think the answer you are looking for is "store more than one row - one for each selection in whatever type you store a single selection"