Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Insert procedure using multiple split variable in sql server

$
0
0

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 .


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>