Find ORACLE_SID via SQL
I've got a developer who wants to be able to find the ORACLE_SID via SQL, when connected to the database.
I've told him to look in V$instance or v$database,but the user he's using in his development won't have the access to those views. Do you have any idea where I can find the info for him with a 'normal' user?
Is he after the SID specifically, or just a way to identify the database?
SELECT * FROM global_name;
Let your developers to begin using DBMS_SQL package. They will have so they want without having permissions in v$instance or v$database
Click Here to Expand Forum to Full Width