MySQL Forums
Forum List  »  Newbie

Re: Converting result set into string
Posted by: Chad Bourque
Date: October 08, 2009 09:47AM

Stefan,

Try this:
update tableA set
    colA = (select group_concat(concat_ws(',', colA, colB, colC) separator ';')
              from taableB
              where id < 10)
  where id = 1;
HTH,
Chad

Options: ReplyQuote


Subject
Written By
Posted
Re: Converting result set into string
October 08, 2009 09:47AM


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.