We run the below procedure using split type of two input variable .
Exec Sp_insert_Procedure '1','Mode1|Mode2|Mode3','Answer1|Answer2|Answer3;Answer1|Answer2|Answer3;Answer1|Answer2|Answer3'
I need the Result like below format
ID ANSMODE ANSWERLIST
1 Mode1 Answer1|Answer2|Answer3
1 Mode2 Answer1|Answer2|Answer3
1 Mode3 Answer1|Answer2|Answer3
Kindly help me how to query for the above insert procedure .