lpatnaik
Programmer
- Jul 11, 2002
- 53
Hi,
I am working on SQL Server 2000. I am writing a stored procedure which is supposed to take as input a comm separated string such as "2,7,1,6"
Now the problem is that , I want my stored procedure to break it up into integers and insert one by one into a table .
1.e. i want to seprate the string into 2, 7, 1 and 6.
Can anyone tell how it can be done.
Thanks
LPatnaik
I am working on SQL Server 2000. I am writing a stored procedure which is supposed to take as input a comm separated string such as "2,7,1,6"
Now the problem is that , I want my stored procedure to break it up into integers and insert one by one into a table .
1.e. i want to seprate the string into 2, 7, 1 and 6.
Can anyone tell how it can be done.
Thanks
LPatnaik