Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

i am passing comma separated values to my stored procedure. something like below:

@id=1,2,3,4
@firstname='a','b','c','d'

now if i write select statement then i want single data from @id and @firstname. something like below:

id firstname
1 a
2 b
3 c
4 d


thanks
Posted

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900