InfiniteLoop has asked for the wisdom of the Perl Monks concerning the following question:
use DBI; my $DSN = 'driver=FreeTDS;Server=mssql_server; database=test;uid=user; +pwd=password;'; my $dbh = DBI->connect("dbi:ODBC:$DSN") or die "$DBI::errstr\n"; my $sth = $dbh->prepare('EXEC sp_who'); $sth->execute();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBD::ODBC, FreeTDS and Stored Procedure
by imp (Priest) on Sep 28, 2006 at 20:36 UTC | |
|
Re: DBD::ODBC, FreeTDS and Stored Procedure
by mje (Curate) on Sep 29, 2006 at 10:31 UTC |