Skip to Content.
Sympa Menu

freetds - RE: [freetds] unixODBC via FreeTDS, PHP and Stored Procedure Help

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Frank M. Kromann" <frank AT kromann.info>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Cc: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] unixODBC via FreeTDS, PHP and Stored Procedure Help
  • Date: Thu, 01 Jul 2004 13:24:44 -0700

Hi,

>
> That leaves PHP, which I don't use. Unless the mssql extension supports
the db-lib rpc functions -- unless, that is, you see some explicit support
for stored procedures and parameter binding -- you're not going to be able
to fetch output parameters. The workaround is to call a wrapper procedure
that selects the output values, creating a normal resultset.
>

This is infact the case. the PHP extension has three function
mssql_init(), mssql_bind() and mssql_execute() to handle parameter and
return values to/from stored procedures.

- Frank






  • RE: [freetds] unixODBC via FreeTDS, PHP and Stored Procedure Help, Frank M. Kromann, 07/01/2004

Archive powered by MHonArc 2.6.24.

Top of Page