Converting result set into string
I would like to convert a result set from a select statement into a string to insert it into another table in an excel style like:
update tableA set colA = (select colA, colB, colC from tableB where id < 10) where id = 1;
after the update colA should look like:
valueA,valueB,valueC;valueA,valueB,valueC;valueA,valueB,valueC;
is there any string function which concats the several rows from the result set into a string??
Subject
Written By
Posted
Converting result set into string
October 08, 2009 09:25AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.