So i am thinking that my linux will display the perl script 
and that will be located by the windows/oracle tnsnames.ora
that´s it?

The tnsnames.ora is stored on the windows/oracle? if he does not exists
how can i create it?

thank´s in advance 

Ângelo Marcos Rigo
Webmaster Colégio Anchieta
http://www.colegioanchieta.g12.br


-----Original Message-----
From: Joe Raube [mailto:[EMAIL PROTECTED]]
Sent: quarta-feira, 11 de setembro de 2002 9:25
To: [EMAIL PROTECTED]
Subject: RE: perl and Oracle


> there is no need to point the hostname or ip adress of the
> windows/oracle machine?

>          my $dbh = DBI->connect(
> 'dbi:Oracle:testdb','USERNAME','PASSWORD',)
>        || die "Database connection not made: $DBI::errstr";

The connect does this via the tnsnames.ora file, which has an alias
called testdb, which points to the appropriate database on the
appropriate host.

-Joe

Ângelo Marcos Rigo
Webmaster Colégio Anchieta
http://www.colegioanchieta.g12.br


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to