My Oracle Support Banner

How to ALTER SYSTEM or ALTER SESSION From Stored PROCEDURE (Doc ID 1024795.6)

Last updated on FEBRUARY 01, 2022

Applies to:

PL/SQL - Version 9.2.0.8 and later
Information in this document applies to any platform.


Goal

Not all SQL statements that are executed at the SQL prompt can be inserted directly into a Stored Procedure. For example, attempting to execute an ALTER SYSTEM FLUSH SHARED_POOL; command within a Stored Procedure will produce a compilation error.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.