My question was different
Devsena Chakravarty, October 23, 2017 - 6:09 am UTC
I want to insert the file as a CLOB in a table , ( the table has a column with datatype CLOB) .
I will use this table to fetch the .txt file later in a OAF page .
Its like i will pass the path of the file like /tmp/test.txt and then the procedure will fetch the file and insert it as a CLOB or BLOB into a table ..
The solution you provide is like data will be read from the file and then insert the data using SQL* Loader .
October 23, 2017 - 10:36 am UTC
You mean you want to store the file, as-is in the database, not parse its contents?
In that case you can use BFILEs to point to the file and load it as needed:
https://oracle-base.com/articles/8i/import-blob