In order to periodically write the DBID to its alert log please schedule this code.
(You might need DBID for restore/recovery purposes.)declare l_dbid number; begin select dbid into l_dbid from v$database; dbms_system.ksdwrt(2,' DBID='||l_dbid); end; /

No comments:
Post a Comment