FIX: Update of BLOB Data w/SQL Server 2.65.0201 Driver StopsID: Q152709
|
Update of a BLOB data causes SQL Server 2.65.0201 driver to stop with a
syntax error. When an update statement is sent to the driver, it generates
an invalid statement that results in the syntax error. This happens during
an update of a large BLOB data (larger than 64K).
The syntax error generated is
Incorrect syntax near the keyword 'UPDATE'.
State:37000, Native:156, Origin:[Microsoft][ODBC SQL Server
Driver][SQL Server]
Line 1 "Incorrect syntax near '='
State:37000, Native:170, Origin:[Microsoft][ODBC SQL Server
Driver][SQL Server]
Microsoft has confirmed this to be a problem in the Microsoft SQL Server ODBC driver version 2.65.201. This problem has been corrected in U.S. Service Pack 1 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider.
If the SQL Server 4030 trace is turned on, the 2.65.0201 SQL server driver
generates the following syntax when an update statement of BLOB data is
issued:
SELECT TEXTPTR(imagecol) FROM imagetest where intcol=update imagetest
set imagecol=0x00
SELECT TEXTPTR(imagecol) FROM imagetest where imagecol LIKE
0x000000
WRITETEXT BULK imagetest.imagecol 0xa
Additional query words: odbc Update BLOB data
Keywords :
Version : 6.5.201
Platform : WINDOWS
Issue type :
Last Reviewed: March 26, 1999