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 and later
Information in this document applies to any platform.


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.


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

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