PLS-00201: identifier UTIL_FILE must be declared

前端 未结 5 1139
忘了有多久
忘了有多久 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:12

    Aside from the possible lack of permissions that other answers have covered, your question says the error you get is:

    PLS-00201: identifier UTIL_FILE must be declared
    

    That suggests you've referenced UTIL_FILE, rather than the built-in package UTL_FILE, in your function. It might be an error you've introduced writing the question, of course, but you used it in the text too so maybe you have got the package name wrong in your code, if you didn't just copy-and-paste Tom's code.

    You'll still need execute privileges on UTL_FILE anyway, if you don't have them already.

提交回复
热议问题