PLS-00201: identifier UTIL_FILE must be declared

前端 未结 5 1078
忘了有多久
忘了有多久 2021-01-12 05:45

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:

5条回答
  •  暖寄归人
    2021-01-12 06:27

    We can do this via cmd, with these steps:

    1. Login as sysdba (connect sys as sysdba + enter password as sys_password)
    2. grant execute on utl_file to .
    3. now we can check by query :'SELECT * FROM all_tab_privs WHERE grantee = 'PUBLIC' AND table_name = 'UTL_FILE';'

提交回复
热议问题