Skip to Content.
Sympa Menu

freetds - Re: [freetds] ct_dynamic()/ct_param() support

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Michael Peppler <mpeppler AT peppler.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] ct_dynamic()/ct_param() support
  • Date: Mon, 13 Oct 2003 08:50:31 -0700

On Sun, 2003-10-12 at 22:07, James K. Lowden wrote:
> On Sun, 12 Oct 2003 23:33:35 -0400, "Mark J. Lilback" <mark AT lilback.com>
> wrote:
> > At 10:20 AM -0700 10/12/03, Michael Peppler wrote:
> > >Thanks - I looked at the code a little, and it *appears* that RPCs are
> > >supported. After two small patches (one to support CS_NULLTERM as the
> > >datalen parameter) I got the code to "work" - but it crashes the MSSQL
> > >2k server that I've got running here (the server crashes *hard*!).
> >
> > I spent a good bit of time trying to get this to work, but the
> > problem is that TDS 7 does not support sending parameters, but TDS 5
> > does.
> >
>
> TDS 5.0 supports parameters in the protocol with TDS_DYNAMIC & Co. TDS
> 7.0 goes a completely different route, using extended stored procedures
> e.g. sp_executesql.

Ugh!

OK - I see. I think I'll leave this as it is for now, and add some
functionality to DBD::Sybase (and a possibly upcoming DBD::FreeTDS) to
enable functionality depending on the version of FreeTDS that it is
linked with.

Michael
--
Michael Peppler Data Migrations, Inc.
mpeppler AT peppler.org http://www.mbay.net/~mpeppler
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or
long term contract positions - http://www.mbay.net/~mpeppler/resume.html




Archive powered by MHonArc 2.6.24.

Top of Page