Reputation: 5078
Is there any way to find out which SID belongs to which database in Oracle database, by executing sql query?
Upvotes: 0
Views: 18261
Reputation: 65517
Check it out:
select instance from v$thread
select distinct sid from v$mystat
select * from global_name
Upvotes: 4