Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> PL/SQL: get ORACLE_SID?
Hi.
In one of my scripts I need to check the username and ORACLE_SID to be sure that the following create table statements don't go into the wrong database. Is there a possibility to get the value of these variables - or any environment variables in a pl/sql-script?
Thanks in advance,
Jan
Received on Fri Dec 15 2000 - 05:41:10 CST