Connect to Oracle : DBI « Database « Perl






Connect to Oracle

   

$dbh = DBI->connect('dbi:Oracle:payroll','scott','tiger');
$dbh = DBI->connect("dbi:Oracle:host=torch.cs.dal.ca;sid=TRCH",$user, $passwd);

   
    
    
  








Related examples in the same category

1.Listing Currently Installed Drivers
2.Listing Valid DSNs
3.Talking with the Database
4.The connect() Method
5.Use DBI to connect to a database
6.Connect to mysql
7.Binding Columns
8.Available DBI Drivers and Data Sources