I am a student learning PL/SQL. I have a local installation of 10g I am running my queries against. Whenever I attempt to use DBMS_ALERT, DBMS_PIPE or other default packages, I get an “invalid SQL” message. I have tried the queries in TOAD and SQL+Plus with the same results. This would lead me to believe these packages are not installed, or not accessable to my user session. I am using the ‘SYS’ user login, so I wouldn’t think permissions would be an issue.
Could someone please educate me on how to make these packages avaialble? I was under the impression they were provided by default?
Thank you very much,
Kyle
Those packages may simply not be installed. If you’d like to install them, look in the $ORACLE_HOME/rdbms/admin directory and run the scripts as SYS. I included files references for the packages you listed above.
DBMS_ALERT
dbmsalrt.sql and prvtalrt.plb
DBMS_PIPE
dbmspipe.sql and prvtpipe.plb