Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Finding the Service Name on 9i
Hello all:
I am consolidating a number of applications to a single database.
I want to use the SERVICE_NAME feature to set current_schema for the appropriate application. I have created services_names (in the spfile) for the various applications,
and corresponding tnsnames.ora entries that specify these various service names. They all work. So far so good. How can I query which service_name a session connected to on 9i? In 10g I can use dba_services - but I cannot find anything on 9i, even in the murky depths of sys views and fixed tables. The *only* place I see it is in the server listener.log, and in a brief moment of weakness considered loading this to the database (somehow) to identify the service names of incoming connections. This is not RAC, I just want to use service_names & the tnsnames.ora to transparently identify which application a user connection is to be directed to .
Does anyone know a way to do this?
Thanks!
Mark
-- http://www.freelists.org/webpage/oracle-lReceived on Thu May 12 2005 - 03:52:10 CDT
![]() |
![]() |