Re: DBD::Sybase placeholder support

"Dan Wierenga" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <24CF2B9B9D2BCC4B8F6EA9528B63C8360A20A59F@LA-EXCLUST01.corp.valueclick.com>

> -----Original Message-----
> From: [email protected] [mailto:freetds-
> [email protected]] On Behalf Of James K. Lowden
> Dan, are they successes or failures are far as you're concerned?  It
> looks
> good from here.

All successes by my book.  I'm just not sure if I'm getting the
advantage of server-side preparation or merely the DBI quote handling.
It'd be nice to have the server-side preparation but just letting DBI
handle the quotes is a *HUGE* advantage in my book.

> Then you send
> 
> 0000 03 01 00 35 00 00 01 00-0a 00 73 00 70 00 5f 00 |...5....
> ..s.p._.|
> 0010 65 00 78 00 65 00 63 00-75 00 74 00 65 00 00 00 |e.x.e.c.
> u.t.e...|
> 0020 00 00 26 04 04 01 00 00-00 00 00 af 05 00 05 00 |..&.....
> ........|
> 0030 7a 75 6d 6d 61         -                        |zumma|
> 
> and I don't understand that packet, but see
> 

That's the actual execute statement, i.e.:
$sth->execute('zumma');


> which doesn't look like you got back an output parameter.  Were you
> hoping
> for one?

Not in those tests.  That query was a simple select from a table.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.