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: how do i connect sqlplus without indicating the service name?

Re: how do i connect sqlplus without indicating the service name?

From: Sancho <joseharvey_at_my-deja.com>
Date: Mon, 04 Dec 2000 09:49:04 GMT
Message-ID: <90fpaf$j36$1@nnrp1.deja.com>

> For NT, I believe you just have to set your Oracle Home to your
 database's
> oracle home.

For NT, you can set the LOCAL environment variable (or at HKLM\SOFTWARE\ORACLE, a string with value <SERVICE_NAME>):

C:\> SET LOCAL=MY_INSTANCE
C:\> SQLPLUS system/manager_at_my_instance
is now equivalent to:
C:\> SQLPLUS system/manager

HTH Jose

--
-=[ Sancho ]=-


Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Mon Dec 04 2000 - 03:49:04 CST

Original text of this message

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