Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Concat result of a sub-select in a single field

Petri BROct 28 2008 — edited Nov 4 2008
How can I concat all registers of a sub-select in a single field.

like:


SELECT DATE_MARK
FROM TABLE_A
WHERE COD = '123'

RESULT:

200601
200605
200607
200507


How can I put that result in a single field? like this:
'200601 200605 200607 200507'

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 2 2008
Added on Oct 28 2008
21 comments
8,925 views