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!

Capturing User Name

Status
Not open for further replies.

gleyd

Programmer
Dec 7, 2000
3
US
I have a trigger that fires when certain fields are changed to post the old and new values to a transaction log. This works fine. I want to capture the userid of the user that caused the trigger to fire. How do I trap the user?

I am using a MS-Access97 front-end connecting to Oracle 8.0.5 back-end using Oracle 8 ODBC Driver.

 
Try turning on Oracle Audit the will capture all events
 
use the USER pseudocolumn:

e.g.

select USER from DUAL;

hth
Randy
 
Thank You,
select USER from DUAL worked.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top