DBAsupport.com Forums - Powered by vBulletin
Results 1 to 10 of 16

Thread: Obtaining a list of all databases via SQL

Threaded View

  1. #7
    Join Date
    Mar 2002
    Location
    Mesa, Arizona
    Posts
    1,204
    You must want to be proven wrong. I'd bet there's a big enough brain in the group to figure this one out. Is stecal still around?

    Let's start here:

    The original question was for a SQL query for all SID's under a given installation.

    I know it's not SQL now, but how about:
    ls -lrt $ORACLE_HOME/dbs/init*.ora $ORACLE_HOME/dbs/spfile*

    Just thinking here ... about the rules.
    Is $ORACLE_HOME set?
    Is $ORACLE_HOME/bin in $PATH?
    Is $ORACLE_SID set?
    Is the $ORACLE_SID open and accepting connections?
    Last edited by KenEwald; 10-27-2004 at 05:59 AM.
    "I do not fear computers. I fear the lack of them." Isaac Asimov
    Oracle Scirpts DBA's need

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width