프로시저를 실행했을 때 아래와 같이 오류가 나오는 경우가 있다.


오류 보고 -
ORA-01031: insufficient privileges
01031. 00000 -  "insufficient privileges"
*Cause:    An attempt was made to perform a database operation without
           the necessary privileges.
*Action:   Ask your database administrator or designated security
           administrator to grant you the necessary privileges


해결 방법

sysdba로 접속하여 아래와 같이 입력 ( SCOTT = user명 )

 

SQL>GRANT CREATE PROCEDURE TO SCOTT;

+ Recent posts