I am searching for a query to get the Oracle Home for a particular instance name, say Eagle
(if there are more than one instance on the host).
Tell me more
×
Database Administrators Stack Exchange is a question and answer site for
database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.
|
|||||
|
migrated from stackoverflow.com May 21 at 8:09
You can do this from a Unix shell, like so:
|
|||
|
You can also do this by utilizing the v$parameter view. Assuming your spfile is saved under the oracle_home in the dbs/ folder, this is a rough query using functions within functions to get the oracle_home.
|
|||
|