王志军个人空间

工作、生活、健康

PL/SQL issues

when loading procedure/function,

SQL> CREATE OR REPLACE PROCEDURE compute_intensive_program
Warning: Procedure created with compilation errors.
SQL> SHOW ERRORS -- show the details of error message

if Oracle reports ``error PLS-00103'', you should type:
oerr PLS 00103

when error "PLS-00201: identifier 'DBMS_LOCK' must be declared" occurs, you may grant privilege to the specific user/public.
SQL> grant execute on dbms_lock to luser; -- schema who owns procedure
or
SQL> grant execute on dbms_lock to public;

相关链接:
http://w2.syronex.com/jmr/edu/db/introduction-to-plsql/
http://www.oracle.com/technology/oramag/oracle/06-jul/o46plsql.html

http://www.orafaq.com/forum/t/65567/0/

project scheduling tool - GanttProjectAJAX and testing

Write a comment

You must be logged in to write a comment. If you're not a registered member, please sign up.

February 2012
S M T W T F S
January 2012March 2012
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29