Home » RDBMS Server » Server Administration » sys.v_$session table AND oracle8 client
sys.v_$session table AND oracle8 client [message #55630] Wed, 05 February 2003 14:12 Go to next message
Tim N.
Messages: 2
Registered: February 2003
Junior Member
"select Program from sys.v_$session" using the oracle7 client would produce: "\[[server name]][[application.exe]]".

That same "select" statement using the oracle8 client only returns "[[application.exe]]".

Does anyone know how to display the full network path of the [[application.exe]] in the sys.v_$session table using the oracle8 client?
Re: sys.v_$session table AND oracle8 client [message #55634 is a reply to message #55630] Wed, 05 February 2003 22:38 Go to previous messageGo to next message
Barbara Boehmer
Messages: 9097
Registered: November 2002
Location: California, USA
Senior Member
This works in 8i:

SELECT machine || '' || program FROM sys.v_$session;
Re: sys.v_$session table AND oracle8 client [message #55669 is a reply to message #55630] Fri, 07 February 2003 01:55 Go to previous messageGo to next message
sai sreenivas jeedigunta
Messages: 370
Registered: November 2001
Senior Member
Hello.
try giving it as

select userenv('terminal')||''||program from v_$session


see if that works..

sai
Re: sys.v_$session table AND oracle8 client [message #55675 is a reply to message #55630] Fri, 07 February 2003 05:43 Go to previous message
Tim N.
Messages: 2
Registered: February 2003
Junior Member
That gives me the machine name that is USING the application, not the path of where the .exe is located on the file server. None of the fields in the sys.v_$session table contain "exactly" what I need, regarding the oracle8 client. Maybe I need to look somewhere else? Maybe use a package?
Previous Topic: Client version support
Next Topic: storage (pctincrease 1)-
Goto Forum:
  


Current Time: Fri Sep 20 07:44:46 CDT 2024