A client has drooped an Oracle database, and client wants to know DBID of the dropped database.
From OEM repository, we can query some tables or views to get DBID for a specific database. for example :
SQL> select HOST_NAME,TARGET_NAME,TARGET_TYPE,TARGET_GUID,DBID,VERSION from MGMT$DB_CPU_USAGE where upper(TARGET_NAME)='DB_NAME';
RMAN command to list dbid of the database:
$ rman catalog rman@rmancatalog
RMAN> list incarnation of database TESTDB;