1.

How Do You Connect To Database In Perl

Answer»

There is DBI module. use DBI;my $dbh = DBI->connect('dbi:ORACLE:orcl', 'username', 'password',)where username and password is yours. This is example for oracle DATABASE.

For SYBASE:
use DBI;
my $dbh = DBI->connect('dbi:Sybase:server=$SERVER', 'username', 'password')

There is DBI module. use DBI;my $dbh = DBI->connect('dbi:Oracle:orcl', 'username', 'password',)where username and password is yours. This is example for oracle database.

For Sybase:
use DBI;
my $dbh = DBI->connect('dbi:Sybase:server=$SERVER', 'username', 'password')



Discussion

No Comment Found