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)
 Handling comma delimited strings with transact sql

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-02-19 : 09:32:14
Luis Aragon writes "Hey Team,

I am trying to develop a stored procedure that will retrieve a value which happens to be a space delimited string. That string contains a list of ids for another table like this: [1 2 13 20]

I need to copy records from one table to another but only the records with the ids in the string. I don't know how to approach this without using arrays, but sql doesn't support arrays.

Thanks for the help!

Luis"
   

- Advertisement -