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 -> Implicitly get the database connection

Implicitly get the database connection

From: MATHEW KING <bzbzzb_at_hotmail.com>
Date: 4 Mar 2004 01:22:55 -0800
Message-ID: <528c8daf.0403040122.4690916d@posting.google.com>


Hi,

I am using Oracle Version 8.1.7 for making backup via RMAN. First I connect to SQLPLUS via:

SQL> Connect SYSTEM/MANAGER_at_TEST

Then I issue the following command on SQL prompt:

SQL> host rman target user/pw nocatalog

RMAN-06005: connected to target database: TEST (DBID=1817902599) RMAN-06009: using target database controlfile instead of recovery catalog

So, I connected to RMAN.
 As far as my knowledge, it&#8217;s implicitly got the target username and password from the first connection, which I gave to connect to database in the beginning.(system/manager). With regards to this, if I want to give the database alias implicitly, what syntax I add in the command.

For Example:

SQL> host rman target user/pw_at_dbname nocatalog

I like to remind you that I wanted to use the database connection implicitly.

Could someone suggest?

Regards

Martin Received on Thu Mar 04 2004 - 03:22:55 CST

Original text of this message

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