[freetds] db-lib dbrpcbind varbinary example

Damien Churchill damoxc at gmail.com
Wed Feb 17 09:55:02 EST 2010


Does anyone have an example of binding a procedure parameter of type
varbinary? I'm having some issues getting this to work correctly, it
binds successfully and the procedure executes just fine, except that
only 1 byte gets inserted.

I've attached both the freetds.log and the stored procedure and table sql.

If anyone is able to shed any light on this then it would be most appreciated!

Thanks in advance,

Damien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freetds.log
Type: text/x-log
Size: 64223 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20100217/e1e1c427/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: insertEmailAttachment.sql
Type: text/x-sql
Size: 969 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20100217/e1e1c427/attachment-0001.bin 


More information about the FreeTDS mailing list