Skip to Content.
Sympa Menu

freetds - Re: [freetds] DBD::ODBC (0.45), MS SQL, unixODBC, FreeTDS (CVS), bind_param_ino ut

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: FreeTDS <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] DBD::ODBC (0.45), MS SQL, unixODBC, FreeTDS (CVS), bind_param_ino ut
  • Date: 31 Dec 2002 12:15:01 +0100

Il dom, 2002-12-29 alle 16:33, Chris McDaniel ha scritto:
> Hello,
>
> I was hoping that someone could help me out with my stored procedure
> problems...
> Here is my code:
>
> #!/usr/bin/perl -w
> use DBI();
> #connect to DB
> my $dbh = DBI->connect("DBI:ODBC:SBS",
> "xxxxxx", "xxxxxx",
> {'RaiseError' => 1});
> DBI->trace(2);
> my ( $bind_value );
> my $sth0 = $dbh->prepare('use BSRes2');
> $sth0->execute();
> $sth0->finish();
> my $sth = $dbh->prepare('{?=call ShowConference 17050}');
> $sth->bind_param_inout(1, \$bind_value, 10000);
> $sth->execute();
>
> print "bv ",$bind_value,"\n";
> $sth->finish();
>
> # close DB connection
> $dbh->disconnect();
>

... omissis ...

Should be fixed in CVS.

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page