Database Administration (MOSC)
MOSC Banner

Logon trigger doesn't fire - but only when compiling PL-SQL

Hi,

So I am working within a new setup where we have a sandbox database in place for users to perform data science work. They are able to create a private DB link to a second Oracle database where they have a limited read-only account.

Their account on the second database has a logon trigger enabled that sets a default schema. The trigger fires and works exactly as expected when used as a DB link, but only when people are running ad-hoc queries. Whenever someone attempts to compile a function/procedure/package in the sandbox database using their DB link, they see the "table or view not found" error.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center