Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Querying environment variables
"Steve Howard" <stevedhoward_at_gmail.com> wrote in message
news:1165247869.245611.234040_at_16g2000cwy.googlegroups.com...
>
> Radoulov, Dimitre wrote:
>> That's your client env, not the server env:
>
> Perhaps, but this is the case only when the client is on the server
> (and even then, only when the client has specifically overridden the
> env var value in existence when the instance was started).
>
> ...client on windows, server on linux...
[...]
Yes,
it seams the env of the server (shadow) process and it changes depending on
the protocol you're using (on "who" forks the process) :
SQL> conn test/test
Connected.
SQL> !echo $TZ
GMT
SQL> var f varchar2(40) SQL> set autop on SQL> exec sys.dbms_system.get_env('TZ',:f);
PL/SQL procedure successfully completed.
F
PL/SQL procedure successfully completed.
F