I've been using this combination of things for sometime with no problems until now. The problem now is that I've started to work with BLOB type data (images). I've found examples of this working and have replicated only to get a syntax error. Here is my error, which occurs at:
$sth->func($buff, $bytesread, 'ct_send_data') || print $sth->errstr, "\n";
Server message number=170 severity=15 state=1 line=1 server=mydbserver text=Line 1: Incorrect syntax near '0x00000000000000000000000000000000'.
If I look at tds error log, an operation that its performing is:
tds_put_string converting 82 bytes of "writetext bulk 0x00000000000000000000000000000000 timestamp = 0x0000000000000000 "
15:04:40.849776 tds_put_string wrote 164 bytes
Does anyone know where this writetext bulk comes in or have any ideas whats going wrong here? Any info or links to other references would be great.
Thanks.
$sth->func($buff, $bytesread, 'ct_send_data') || print $sth->errstr, "\n";
Server message number=170 severity=15 state=1 line=1 server=mydbserver text=Line 1: Incorrect syntax near '0x00000000000000000000000000000000'.
If I look at tds error log, an operation that its performing is:
tds_put_string converting 82 bytes of "writetext bulk 0x00000000000000000000000000000000 timestamp = 0x0000000000000000 "
15:04:40.849776 tds_put_string wrote 164 bytes
Does anyone know where this writetext bulk comes in or have any ideas whats going wrong here? Any info or links to other references would be great.
Thanks.