Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Listing Oracle Databases on Windows

Re: Listing Oracle Databases on Windows

From: Sybrand Bakker <gooiditweg_at_nospam.demon.nl>
Date: Sun, 02 Mar 2003 17:51:02 +0100
Message-ID: <bgd46v84fbtaema2p2aiibre5ja7tremug@4ax.com>


On Sun, 02 Mar 2003 09:11:58 GMT, <dan1999a_at_attbi.com> wrote:

>Hi Oracle DBAs,
>
>In UNIX, to get a list of Oracle databases on a server, I do this in my
>script:
> grep ^[A-Z,a-z] /etc/oratab
>
>Is there a way that I can script out getting a list of Oracle databases and
>its Oracle Home in a Windows environment? I'm trying to write a script that
>will run for each Oracle database on a server.
>
>Also, is there a way of doing this using PERL?
>
>Thanks in advance.
>

You would probably need VBscrpt to call the Windows API to retrieve a list of appropiate services.

A database in sqlserver equates a schema in Oracle. Your post distinctly smells of having way too many instances on a server

Sybrand Bakker, Senior Oracle DBA

To reply remove -verwijderdit from my e-mail address Received on Sun Mar 02 2003 - 10:51:02 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US