2012-07-04 141 views
0

prvtmail.plb當我試圖Oracle 11g下面的代碼運行,問題與甲骨文

@?/rdbms/admin/prvtmail.plb 

我得到這個輸出。

PACKAGE utl_mail_internal compiled 
PACKAGE BODY utl_mail_internal compiled 
GRANT succeeded. 
PACKAGE BODY utl_mail compiled 
219/59   PLS-00201: identifier 'UTL_TCP' must be declared 
219/13   PL/SQL: Statement ignored 
239/41   PLS-00201: identifier 'UTL_TCP' must be declared 
237/17   PL/SQL: Statement ignored 
255/39   PLS-00201: identifier 'UTL_TCP' must be declared 
253/15   PL/SQL: Statement ignored 
291/41   PLS-00201: identifier 'UTL_TCP' must be declared 
289/9   PL/SQL: Statement ignored 
317/5   PLS-00201: identifier 'SYS.UTL_MAIL_INTERNAL' must be declared 
317/5   PL/SQL: Statement ignored 
389/23   PLS-00201: identifier 'UTL_SMTP' must be declared 
389/23   PL/SQL: Item ignored 
390/39   PLS-00201: identifier 'UTL_TCP' must be declared 
390/23   PL/SQL: Item ignored 
427/9   PLS-00320: the declaration of the type of this expression is incomplete or malformed 
427/9   PL/SQL: Statement ignored 
443/19   PLS-00320: the declaration of the type of this expression is incomplete or malformed 
443/5   PL/SQL: Statement ignored 
444/19   PLS-00320: the declaration of the type of this expression is incomplete or malformed 
444/5   PL/SQL: Statement ignored 

上面的輸出中有一些錯誤。我怎麼能避免這種錯誤?

回答

0

我需要將它們創建爲sys而不是system