My Oracle Support Banner

Cannot Use Privileges After Switching Container Via An "After Log On" Trigger (Doc ID 2248088.1)

Last updated on APRIL 12, 2019

Applies to:

Oracle Database - Standard Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Information in this document applies to any platform.


NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.


Any common user with the select privilege on a table in a different schema is able to query the table after the container is changed.  When a logon trigger is used to change the container for the common user, the select from the same table fails with ORA-00942.

 Setting up the user:



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.