Question: : What is the Oracle ALTER SESSION
statement? I know that ALTER SESSION can change Oracle parameters,
but can you change any parameter with an ALTER SESSION statement?
Answer:
The ALTER SESSION statement can be embedded anywhere that you issue
SQL like SQL*Plus, PL/SQL, or a program with embedded SQL.
Not all parameters can be modified with an
ALTER SESSION
statement, but you can check to see if a statement is alterable by
looking at the v$parameter view.
You can see if any parameter can be changed with an
ALTER SESSION
statement by looking at the isses_modifiable column in the
v$parameter view.
This query will display all parameter that can be changed with an
ALTER SESSION
statement: