SYMPTOMS
When your Open Database Connectivity (ODBC) application performs an update or an insert statement on a Microsoft SQL Server database, the contents of the
ntext parameter may be corrupted when the following conditions are true:
- The code page setting on the client is different from the code page setting on the server that is running the SQL Server database. For example, the client code page is Chinese and the server code page is US English.
Note This problem occurs in multi-byte code page languages, such as Chinese, Japanese, or Korean. - The ntext parameter is a data-at-execution parameter.
- The length of the ntext parameter is set by using the SQL_DATA_AT_EXEC macro.
Note When a parameter is bound with a *StrLen_or_IndPtr pointer that is set to SQL_DATA_AT_EXEC in the
SQLBindParameter() function and the value length is less than 400 KB, the problem does not occur.
RESOLUTION
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft Data Access Components service pack that contains this hotfix.
To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
Prerequisites
No prerequisites are required.
Restart requirement
You do not have to restart your computer after you apply this hotfix.
Hotfix replacement information
This hotfix does not replace any other hotfixes.
File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the
Time Zone tab in the Date and Time tool in Control Panel.
Date Time Version Size File name
--------------------------------------------------------------
02-Aug-2004 19:18 2000.81.9051.0 61,440 Dbnetlib.dll
02-Aug-2004 19:14 2.71.9051.0 307,200 Msadce.dll
02-Aug-2004 19:18 2.71.9051.0 57,344 Msadcf.dll
02-Aug-2004 19:18 2.71.9051.0 131,072 Msadco.dll
02-Aug-2004 19:18 2.71.9051.0 53,248 Msadcs.dll
02-Aug-2004 19:15 2.71.9051.0 147,456 Msadds.dll
02-Aug-2004 19:15 2.71.9051.0 491,520 Msado15.dll
02-Aug-2004 19:18 2.71.9051.0 159,744 Msadomd.dll
02-Aug-2004 19:18 2.71.9051.0 180,224 Msadox.dll
02-Aug-2004 19:15 2.71.9051.0 53,248 Msadrh15.dll
02-Aug-2004 19:18 2.71.9051.0 221,184 Msdaora.dll
02-Aug-2004 19:15 2.71.9051.0 180,224 Msdaprst.dll
02-Aug-2004 19:18 2.71.9051.0 188,416 Msdaps.dll
02-Aug-2004 19:18 2.71.9051.0 110,592 Msdarem.dll
02-Aug-2004 19:14 2.71.9051.0 126,976 Msdart.dll
02-Aug-2004 19:14 2.71.9051.0 303,104 Msdasql.dll
02-Aug-2004 19:18 2.71.9051.0 32,768 Msdfmap.dll
02-Aug-2004 19:18 2.71.9051.0 90,112 Msjro.dll
02-Aug-2004 19:18 2.573.9051.0 131,072 Msorcl32.dll
02-Aug-2004 19:13 3.520.9051.0 204,800 Odbc32.dll
02-Aug-2004 19:18 2000.81.9051.0 24,576 Odbcbcp.dll
02-Aug-2004 19:18 3.520.9051.0 98,304 Odbccp32.dll
02-Aug-2004 19:18 3.520.9051.0 61,440 Odbccr32.dll
02-Aug-2004 19:18 3.520.9051.0 61,440 Odbccu32.dll
02-Aug-2004 19:14 2.71.9051.0 417,792 Oledb32.dll
02-Aug-2004 19:18 2000.81.9051.0 471,040 Sqloledb.dll
02-Aug-2004 19:18 2000.81.9051.0 385,024 Sqlsrv32.dll
02-Aug-2004 19:03 2000.81.9051.0 200,704 Sqlxmlx.dll