Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Opposite of Oracle "ALTER SYSTEM SET" Command

Tags:

sql

oracle

I'm looking at some code and I see that someone is writing the following pl/sql.

alter system set smtp_out_server = '123.345.134.123';

Since this is the mutator (setter), what's the accessor (getter) of this command?

SELECT what from where to view the SMTP_OUT_SERVER setting?

Thanks,

mj

like image 689
mj_ Avatar asked Jan 27 '12 15:01

mj_


2 Answers

Try:

select *
  from V$PARAMETER
 where NAME = 'smtp_out_server';

Or, in an sqlplus session you can type:

show parameter smtp_out_server
like image 103
John Doyle Avatar answered Sep 22 '22 19:09

John Doyle


select * from v$parameter

That should get the settings, add a where clause for the specific one you are after

like image 31
Andrew Avatar answered Sep 21 '22 19:09

Andrew