Guest User

Untitled

a guest
Jul 23rd, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. use strict;
  2. use warnings;
  3. use DBI;
  4.  
  5. my $dbh = DBI->connect('dbi:Sybase:timeout=10;server=MSSQL2000;database=protec', 'sa', $ENV{PASS});
  6. my $sth = $dbh->prepare("select count(*) from Clients");
  7. $sth->execute;
  8. print $sth->fetchrow;
  9. print "\n";
Add Comment
Please, Sign In to add comment