sql server - How can I split a comma-delimited value into multiple rows? -


i have table1 query string pulls following remote table whereby mykeys comma-delimited list:

table1:  mykeys varchar, mycount int, mycomment varchar 

i need update local 2008r2 table based on:

table2: split somehow - mykeys int, mycount int, mycomment varchar 

currently, have ssis package pulls information , creates local table. i've seen answers using functions feed select statement (e.g. mykeys), nothing includes multiple fields e.g. (mykeys, mycount, mycomment).

maybe make ragged right or fixed length destination , have comma text qualifier?


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -