So i am trying for writing a procedure which need to accept the input values in form of two lists as follows:
execute ProcedureForInsert 'john,marry,tom' '1,2,3' 40
where first parameter is list of Varchar type and second is list of int type and length of both lists are to be same and third parameter is also of int type.
My script is to use these two list values to insert into some table along with third parameter.
How to store and iterate two lists for creation of Insert Query
.
Thanks in advance.