I want to check SID and current database name.
I am using following query for checking oracle SID
select instance from v$thread;
but table or view does not exist error is coming.
I am using following query for checking current database name
select name from v$database;
but table or view does not exist error is coming.
Any idea for above two problems?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…