Some Useful command for DBA

Check Database SID:
select instance from v$thread;
Or
select sys_context('userenv','instance_name') from dual;
Check Database Name:
select name from v$database;
Comments