FIX: Cannot Insert BLOB Data Larger Than 128k w/ SQLSetParamID: Q136745
|
When you connect to SQL Server version 4.21a and use the SQLSetParam
function to insert image or text data where the total size (such as the
cbcoldef argument for SQLSetParam) is larger than 128K, you will receive
the following error message from the SQL Server driver:
[Microsoft][ODBC SQL Server Driver][SQL Server] Memory request failed
because more than 64 pages are required to run the query in its
present form. The query should be broken up into shorter queries if
possible[#703].
This problem only occurs when the SQLSetParam function is used.
Use the ODBC version 2.0 function SQLBindParameter instead of SQLSetParam.
Microsoft has confirmed this to be a problem in the SQL Server Driver
version 2.50.121. This problem was corrected in Service Pack 1 for SQL
Server version 6.0. For more information, contact your primary support
provider.
Before you connect a SQL Server Driver version 2.50.121 or later to SQL Server version 4.21a, make sure that the INSTCAT.SQL file that ships with the driver has been executed on the server. The INSTCAT.SQL script upgrades the catalog stored procedures used by the driver.
Additional query words: sql6 odbc
Keywords : kbprg SSrvProg kbbug4.21a kbfix6.00.sp1
Version : 2.5.121 4.21a 6.0
Platform : WINDOWS
Issue type :
Last Reviewed: April 19, 1999