Reputation: 33
I need to get a table data which consists of blob as a column, need to export as insert format.
create table table1
(id number,
document blob);
i tried using spool & /insert/ but i'm getting that column as null;
Upvotes: 1
Views: 12067
Reputation: 22412
Use the sql loader format.
You'll get each blob downloaded as a file in the specified directory.
Bonus: use SQLcl from your command prompt to do the same using a bit of js
Upvotes: 4