Oracle How to find Database ID (DBID) (Use for rman restoration with database backup agent for controlfile)

** Myself
From OS database user with ORACLE_SID environment
## Sometime  Use for rman restoration with database backup agent for controlfile and Nocatalog or Lost of catalog information.
Method1 by rman
rman TARGET /
Recovery Manager: Release 10.2.0.4.0 - Production on Sun Jun 12 02:41:03 2005
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: RDBMS (DBID=774627068)
RMAN>
 
Method2 by query
SELECT dbid, name FROM v$database
DBID NAME
---------- ---------
774627068 DEV

0 comments:

Loading