-
Find ORACLE_SID via SQL
All,
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?
Thanks ,
Rik
-
Is he after the SID specifically, or just a way to identify the database?
Try
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
Cheers
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|