-
how can i find out the ip address or machine name on which i have been connected to oracle. I am able to find the how many machines and which user is connected to oracle from v$session view but i can't find the machine name. Please help me.
balraj
-
Run the following in SQL+:
SELECT SYS_CONTEXT('USERENV','IP_ADDRESS') "My IP Address" from dual;
-
mahine name
thanks for the reply but I am getting the error
SELECT SYS_CONTEXT('USERENV','IP_ADDRESS') "My IP Address" from dual
*
ERROR at line 1:
ORA-00904: invalid column name
Originally posted by julian
Run the following in SQL+:
SELECT SYS_CONTEXT('USERENV','IP_ADDRESS') "My IP Address" from dual;
balraj
-
The column Machine in v$session view gives the name of the machine.
Nizar.
-
re:machine
How do I know that which is the correct machine name among the list. It will show all the machine name.
Originally posted by nabaig
The column Machine in v$session view gives the name of the machine.
Nizar.
balraj
-
Re: mahine name
This means that your Oracle version is below 8i.
-
Link this with OSUSER column.
Nizar
-
Do a
select username "Oracle Username",osuser "OS Username",
machine from v$session;
With this you can use your username name to find out on which machine you are logged on.
hope that helps.
-
Re: mahine name
Yes, but is there no way of solving the problem
Originally posted by julian
This means that your Oracle version is below 8i.
balraj
-
Code:
select unique(machine) from v$session where schemaname='SYS';
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|