Thanks a lot for sending me the query.
I have 232000 records in the S1 table with similar type of data and also found that the Seq_no can be more even though the max seq_no is 2 at present.
Is it possible to generalize this query? What is the complexity involved?
Thanks
Maddy
Can someone please help me out in writing the Sql to concatenate the Text_desc for each code for all the seq_nos in the ascending order of seq_no and load into the target table.
Source table : S1
Code Seq_no Text_desc
---------------------------
1579 0 BCN5, CO20, ER75
1579...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.