Help for this page

Select Code to Download


  1. or download this
    my $dbh = DBI->connect("DBI:ODBC:driver={SQL Server};","SERVER=Bobs.pa
    +ncake.hut;DATABASE=flapjacks;","account","password");
    
  2. or download this
    DBI->connect using 'old-style' syntax is deprecated and will be an err
    +or in futu
    re versions at C:\temp\temp.pl line 14
    ...
    or perhaps the capitalisation of 'password' isn't right.
    Available drivers: DBM, ExampleP, File, Gofer, ODBC, Proxy, SQLite, Sp
    +onge.
     at C:\temp\temp.pl line 14