| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Error pinning PKS in shared pool
MessageYou do not need 'exec immediate'
Sorry, new DB and hadn't execute the Dbmspool.sql script.
CREATE OR REPLACE TRIGGER PAQUETES_MEMORIA
AFTER STARTUP ON DATABASE
BEGIN
exec immediate dbms_shared_pool.keep('DBMS_ALERT');
exec immediate dbms_shared_pool.keep('DBMS_DDL');
exec immediate dbms_shared_pool.keep('DBMS_DESCRIBE');
exec immediate dbms_shared_pool.keep('DBMS_LOCK');
exec immediate dbms_shared_pool.keep('DBMS_OUTPUT');
exec immediate dbms_shared_pool.keep('DBMS_PIPE');
exec immediate dbms_shared_pool.keep('DBMS_SESSION');
exec immediate dbms_shared_pool.keep('DBMS_SHARED_POOL');
exec immediate dbms_shared_pool.keep('DBMS_STANDARD');
exec immediate dbms_shared_pool.keep('DBMS_UTILITY');
exec immediate dbms_shared_pool.keep('STANDARD');
exec immediate dbms_shared_pool.keep('BUSCA_SECUENCIA');
END;
I am getting this error, tried with users SYS and SYSTEM
12/11 PLS-00103: Encountered the symbol "DBMS_SHARED_POOL" when
expecting one of the following:
:= . ( @ % ;
tia
Ramon E. Estevez
com.banilejas_at_codetel.net.do
809-565-3121
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Waleed Khedr
INET: wkhedr_at_attbi.com
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Sun Feb 23 2003 - 14:43:45 CST
![]() |
![]() |