Hi
I Want to pass multiple integer value to stored procedure. so i thought i can pass it as string value like '10,20,30' to procedure.
Select * from customer where cusid in(@custlist).
But it's not possile variable value in paramter.
Error as
---
Msg 245, Level 16, State 1, Line 3
Conversion failed when converting the varchar value '10,20,30' to data type int
---
Is there any other way to achive it...?
Please suggest me
I Want to pass multiple integer value to stored procedure. so i thought i can pass it as string value like '10,20,30' to procedure.
Select * from customer where cusid in(@custlist).
But it's not possile variable value in paramter.
Error as
---
Msg 245, Level 16, State 1, Line 3
Conversion failed when converting the varchar value '10,20,30' to data type int
---
Is there any other way to achive it...?
Please suggest me