Problem solve Get help with specific problems with your technologies, process and projects.

Identifying the user who submits a query

If you create a DBLink between a Unix server and a mainframe database how do you identify the actual user who submits...

a query to the Oracle mainframe database via the DBLink? The mainframe security group is concerned that we have no accountability as to who actually used the DBLink to view mainframe Oracle data. If you're going from Oracle RDBMS to Oracle RDBMS, this question doesn't make sense since the DBLink would use whatever user you used when creating the link (connect to identified by ). If you left out the "connect to" clause, it would be a current user link and would connect to the remote side using the same login credentials used to login to the local database.

If you're talking about connecting to a remote database that is non-Oracle via a gateway, I'm not sure since the remote side would use authentication mechanisms proprietary to that database vendor.

This was last published in April 2005

Dig Deeper on Oracle and SQL

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.