I\'m trying to export data from a query into a csv file from Oracle Enterprise Express installed on a Windows Server 2008 machine.
I\'ve found this solution:
We can do this via cmd, with these steps:
sysdba
connect sys as sysdba
grant execute on utl_file to
'SELECT * FROM all_tab_privs WHERE grantee = 'PUBLIC' AND table_name = 'UTL_FILE';'