I have a problem with the command SPOOL
of SQL*Plus executed on an UNIX system...
Before connecting to the database with SQL*Plus, I do an :
export NLS_LANG=french_FRANCE.UTF8
Then :
spool EXCEPTION.csv
select MY_COLUMN||';'||EXCEPTION_MESSAGE from TABLE_EXCEPTION;
spool off
When I open EXCEPTION.csv
with Notepad++ on Windows :
ORA-01403: aucune donnée trouvée
It's what I expected, but with Microsoft Excel :
ORA-01403: aucune donnée trouvée
So, is it possible to SPOOL
to the command line with SQL*Plus, without having to make an unix2dos EXCEPTION.csv
?