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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 How to split the data in SQL Statement

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2006-04-12 : 09:42:03
Myat Mon writes "Hi
Now I am trying to split the data in SQL statement. In the table, store the value as "1,2,3".
I want to split and check for "1" (or) "2" (or) "3".
how can I split at sql statement.

many thanks."

robvolk
Most Valuable Yak

15732 Posts

Posted - 2006-04-12 : 09:42:28
Seems popular lately:

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=64602
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-04-12 : 09:47:24
Make sure the table is normalised
http://www.datamodel.org/NormalizationRules.html

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -