[freetds] Using VARYBINBIND with dbbind
Unger, Doug
Doug.Unger at amex.com
Mon Jul 9 09:41:28 EDT 2007
Hello Everyone,
I have searched the archives and not found any information about using
VARYBINBIND with dbbind.
We would like to convert an application from Sybase's DBLIB to FreeTDS,
but are having a problem with varbinary data.
The application DB contains tables with varbinary fields which get bound
to the local application variables via a dbbind and the vartype
parameter is set to VARYBINBIND.
Initially the application didn't compile because VARYBINBIND is not
defined in FreeTDS. I tried VARYCHARBIND, but this failed during
execution because it fails the tds_willconvert check (tds_willconvert
doesn't contain any SYBVARBINARY data types). I see that the
SYBVARBINARY datatype is supported in the tds_convert_binary routine, so
it looks like FreeTDS would handle the varbinary data; I just have to
get past the dbbind.
Any ideas?
Thanks
Doug
*The information contained in this e-mail and any attachments may be confidential and/or proprietary. If you are not an intended recipient or an authorized agent of an intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and permanently delete the e-mail and any attachments immediately.
More information about the FreeTDS
mailing list