title: how can read environment variable with sql statement in oracle
body: <p>I use Oracle 11g on my systems, and I need to get system's environment variables using SQL.</p>
  
  <p>is there any way to get it?
  (for example USER, HOME, PATH, in fact, I need to get my custom environment varibles for system management.)</p>
  
  <p>or I read about dbms_system.get_env() in PL/SQL. How can I using this from my SQL? (sorry, I'm closer to system administrator.)</p>
  
  <p>EDIT:
  what I want to do is something like below:</p>
  
  <pre><code>=============================
    java: query to get XXX_INFO
    ---------------------------
  server:
  =============================
                |
  =============================
    dbms: select SOMETHING...
    ---------------------------
  server: export XXX_INFO=myXXX
  =============================
  </code></pre>