Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting current Username 1

Status
Not open for further replies.

AndreasAuer

IS-IT--Management
Jan 14, 2001
25
AT
Is it possible to get the current loginname with SQL? Its not important, if its the Windows-Loginname or the loginname of Oracle.
It would be nice if it would be possible.
 
Yes, the sentence is:

SELECT user FROM dual;

That's Oracle username.
 
The easiest way if you go to the Oracle SQL prompt is to type "SHOW USER" without the quotes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top