Comma Seperated Values Insertion In SQL server 2005
- by Asim Sajjad
How can I insert Values from the comma separated input paramater to the Store prodcedure ?
Example is
exec StopreProcedure Name 17,'127,204,110,198',7,'162,170,163,170'
you can see that I have two Comma Separated Values in the parameter list , both will have same number of values if first have 5 comma seperated value then second one also has 5 comma separated values you can says
127 and 162 are related
204 and 170 are related and same for other
how can I insert these two values in ?
One comma Sepated value is inserted but how to insert two ?