When database schema really need to execute alter system commands such as flushing shared_pool
they need alter system privilege.
For example application user CUSTOMER try to flush shared pool but get error ORA-01031
SQL> alter system flush shared_pool;
*
ERROR at line 1:
ORA-01031: insufficient privileges
If the dba allows the user to such an operation, the powerful privilegies needs to be granted.
So as SYSTEM:
SQL> grant alter system to CUSTOMER;
Grant succeeded.
SQL>
Now schema CUSTOMER can flush shared pool:
SQL> alter system flush shared_pool;
System altered.
To revoke the privilege, dba as SYSTEM can issue:
SQL> revoke alter system from CUSTOMER;
Revoke succeeded.
Warning: include(ads/text468x15.html): failed to open stream: No such file or directory in D:\inetpub\webs\fishscriptcom\documents\view_document.php on line 131
Warning: include(): Failed opening 'ads/text468x15.html' for inclusion (include_path='.;C:\php\pear') in D:\inetpub\webs\fishscriptcom\documents\view_document.php on line 131
A good scientist is a person with original ideas.
A good engineer is a person who makes a design that works with as few original ideas as possible. There are no prima donnas in engineering. Freeman Dyson
A good scientist is a person with original ideas.
A good engineer is a person who makes a design that works with as few original ideas as possible. There are no prima donnas in engineering. Freeman Dyson
fishScript.Com is accessible by Mobile access technology
as mobile phones, Palm and Pocket PC .
Nicoleta e Marco Magnani tutorial, examples, courses, esempi, corsi, esercizi, appunti vari Dottoressa Nicoleta Dragu Formatrice Docente Insegnante Mediatrice Culturale
Dott. Marco Magnani Universita La Sapienza Roma Master Computer Science Hunter College New York , Data Base Administrator DBA oracle System architect