Reputation: 185
which encoding format by default does UTL_FILE package uses if we try to extract data from oracle database to csv using UTL_FILE?
Upvotes: 0
Views: 44
Reputation: 6366
It's depends, there are two options.
utl_File.fopen
-> the package expect file in database charset.utl_file.fopen_nchar
-> the file should be in UTF8 format.If you one the check db charset use bellow query
select * from nls_database_parameters where parameter='NLS_CHARACTERSET';
Upvotes: 1