I have a table data as
col1 col2 col3 col4
11 12 xx yy 20
22 13 qq aa 21
my TDD requried using TSQL as
col1 col2 col3 col4
11 12 xx 20
11 12 yy 20
22 13 qq 21
22 13 aa 21
basically, col3 is having values with space, need to create the rows for each value separed by space value.
thanks
prav
Have a look at something like this