...oops, and I forgot to add that you might wanna wrap
the call to 'dbms_shared_pool' in pin_me within exec
immed, so that if the package ever goes invalid (or
does not exist - ie forgotten to be run) the trigger
will still run ok.
cheers
connor
- Richard Ji <richard.ji_at_mobilespring.com> wrote: >
remove exec immediate.
>
> Richard
>
> -----Original Message-----
> Sent: Sunday, February 23, 2003 2:59 PM
> To: Multiple recipients of list ORACLE-L
>
>
> 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
> <mailto:com.banilejas_at_codetel.net.do>
> 809-565-3121
>
>
>
Connor McDonald
web:
http://www.oracledba.co.uk
web:
http://www.oaktable.net
email: connor_mcdonald_at_yahoo.com
"GIVE a man a fish and he will eat for a day. But TEACH him how to fish, and...he will sit in a boat and drink beer all day"
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: =?iso-8859-1?q?Connor=20McDonald?=
INET: hamcdc_at_yahoo.co.uk
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 - 23:23:38 CST