SYS_CONTEXT('USRENV', 'DB_NAME') Not Return Correct Name For PDB

(Doc ID 2358245.1)

Last updated on FEBRUARY 08, 2018

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 12.1]
Information in this document applies to any platform.


In PDB, the sys_context('USERENV','DB_NAME') did not return PDB's name, but return db_name





Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms