in reply to Re^4: speedup sqlserver insert
in thread speedup sqlserver insert
Did you paste that connect string from your program or did you retype it?
That connect string is highly dubious, because it includes some strings that should be Perl code if you follow the documentation of DBI.
Update: Maybe you should follow the documentation of DBI closer:
$dbh = DBI->connect($dsn, $user, $password, { RaiseError => 1, AutoCommit => 0 });
If you take that piece of code, all that remains is to fill in the three variables $dsn, $user and $password:
my $user='fionbarr'; my $password='secret'; my $dsn= '...'; $dbh = DBI->connect($dsn, $user, $password, { RaiseError => 1, AutoCommit => 0 });
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: speedup sqlserver insert
by fionbarr (Friar) on Sep 12, 2014 at 14:13 UTC | |
by Corion (Patriarch) on Sep 12, 2014 at 14:16 UTC | |
by Anonymous Monk on Sep 12, 2014 at 14:31 UTC |