I have to migrate data from one database to another. As preparation we have already extracted CLOB and BLOB data into separate files located on the Oracle server. The database contains several CLOB and BLOB columns in different tables that have been initialized with NULL values for all those rows.
How can I load the content of a file into the CLOB or BLOB column of an existing row. I know the exact touples of primary ID keys and filenames... but I've found no working way to read those files into the tables.
SQL*Loader for example only seems to be able to add rows or to replace the complete table. But I only want to update single columns. We can use SQL*Loader if needed or plain PL/SQL scripts - whatever works.
Thanks for all your help.