I need to concatenate various CLOB data into a single CLOB field.
I have a database with various rows, each containing a few char fields (BATCH_ID for example), and a CLOB (BATCH_BODY). I am unsure as to how to concatenate the CLOBs in order to make everything a single row.
the end goal is to group together all rows in which the BATCH_ID is the same into a single row with a single CLOB file that is made up of various BATCH_BODY's
CONCAT works with CLOBs it seems:
http://docs.oracle.com/cd/B19306_01/server.102/b14200/functions026.htm