oraperl

From: Kuntal Daftary <daftary_at__remove_to_send_email_.cisco.com>
Date: 1997/12/04
Message-ID: <34873EC1.27C0635C_at__remove_to_send_email_.cisco.com>#1/1


hi guys

i was trying to use oraperl but the script fails at ora_login itself i think the problem is that i m not exactly sure what to put in where the database name goes.

using sqlplus, i login using the following:

% sqlplus user/pass_at_db

but if i use

$lda = &ora_login("db", "user", "pass") || die "login failed\n";

it fails.

i saw some example scripts give

$lda = &ora_login("t:some-host-name:db", "user", "pass");

but i dont know what does this syntax mean and how to find out what i should put in for the "t:some-host-name" part.

obviously i m try oraperl for the first time in my life. :-)

any help or suggestions welcome. Received on Thu Dec 04 1997 - 00:00:00 CET

Original text of this message