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?
04-15-2003, 05:55 AM
Is he after the SID specifically, or just a way to identify the database?
SELECT * FROM global_name;
04-15-2003, 06:02 AM
Let your developers to begin using DBMS_SQL package. They will have so they want without having permissions in v$instance or v$database