FIX: You notice additional random trailing character in values when you retrieve the values from a fixed-size character column or a fixed-size binary column of a table in SQL Server 2005 (918276)
The information in this article applies to:
- Microsoft SQL Server 2005 Standard Edition
- Microsoft SQL Server 2005 Developer Edition
- Microsoft SQL Server 2005 Workgroup
- Microsoft SQL Server 2005 Enterprise Edition
- Microsoft SQL Server 2005 Standard X64 Edition
- Microsoft SQL Server 2005 Enterprise X64 Edition
- SQL Server 2005 Standard Edition for Itanium-based Systems
- Microsoft SQL Server 2005 Enterprise Edition for Itanium Based Systems
- Microsoft SQL Server 2005 Service Pack 1
Bug #: 733 (SQL Hotfix) Bug #: 50000201 (SQL Hotfix)
NoticeMicrosoft distributes Microsoft SQL Server 2005 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2005 fix release.This article describes the following about this hotfix release: - The issues that are fixed by this hotfix package
- The prerequisites for installing the hotfix package
- Information about whether you must restart the computer after you install the hotfix package
- Information about whether the hotfix package is replaced by any other hotfix package
- Information about whether you must make any registry changes
- The files that are contained in the hotfix package
SYMPTOMSIn SQL Server 2005, when you retrieve values from a fixed-size character column or a fixed-size binary column of a table, you notice additional random trailing characters in the values. This problem occurs when all the following conditions are true: - The table is populated with the values in the connection context that has the ANSI_PADDING setting set to OFF.
- The values with which the table is populated are returned by an ISNULL function from a SELECT statement. The SELECT statement has the following characteristics:
- The SELECT statement has an INTO clause that creates the table. Additionally, the table is created in a connection context that has the ANSI_PADDING setting set to OFF.
- The SELECT statement has an OUTER JOIN of TableB and TableC on their fixed-size binary columns or fixed-size character columns.
- The fixed-size binary column or fixed-size character column values of either TableB or TableC that contain one or more NULL values are passed to the first parameter of the ISNULL function.
- The table column that is passed to the first parameter of the ISNULL function is nonnullalble.
- The second parameter of the ISNULL function is a constant value. The constant value has the smaller length than the fixed-size character column length or the fixed-size binary column length of the table in which you experience this problem.
Note TableB and TableC are used in this section to differentiate from the table in which you experience the problem. RESOLUTIONA 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 SQL Server 2005 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- The original release version of SQL Server 2005-based hotfix requires the original release version of SQL Server 2005.
- The SQL Server 2005 SP1-based hotfix requires SQL Server 2005 SP1.
For more information about how to obtain SQL Server 2005 Service Pack 1, click the following article number to view the article in the Microsoft Knowledge Base:
913089
How to obtain the latest service pack for SQL Server 2005
Restart informationYou do not have to restart the computer after you apply this hotfix. Registry informationYou do not have to change the registry. Hotfix file informationThis hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain of all the files that you must have to fully update a product to the latest build.
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 item in Control Panel.The original release version of SQL Server 2005-based hotfix SQL Server 2005 32-bit version|
Microsoft.sqlserver.replication.dll | 2005.90.1547.0 | 1,608,480 | 19-May-2006 | 10:25 | x86 | Microsoft.sqlserver.smo.dll | 9.0.1547.0 | 1,559,328 | 19-May-2006 | 10:25 | x86 | Microsoft.sqlserver.sqlenum.dll | 9.0.1547.0 | 895,776 | 19-May-2006 | 10:25 | x86 | Msmdlocal.dll | 9.0.1547.0 | 15,626,528 | 19-May-2006 | 10:26 | x86 | Msmdredir.dll | 9.0.1547.0 | 3,929,888 | 19-May-2006 | 10:26 | x86 | Osql.exe | 2005.90.1547.0 | 51,488 | 19-May-2006 | 10:25 | x86 | Replrec.dll | 2005.90.1547.0 | 781,088 | 19-May-2006 | 10:25 | x86 | Sqlaccess.dll | 2005.90.1547.0 | 349,472 | 19-May-2006 | 10:26 | x86 | Sqldiag.exe | 2005.90.1547.0 | 960,288 | 19-May-2006 | 10:25 | x86 | Sqlservr.exe | 2005.90.1547.0 | 28,791,128 | 19-May-2006 | 10:26 | x86 | SQL Server 2005 x64-based version|
Microsoft.sqlserver.replication.dll | 2005.90.1547.0 | 1,813,792 | 19-May-2006 | 13:48 | x64 | Microsoft.sqlserver.smo.dll | 9.0.1547.0 | 1,551,136 | 19-May-2006 | 13:48 | x86 | Microsoft.sqlserver.sqlenum.dll | 9.0.1547.0 | 863,008 | 19-May-2006 | 13:47 | x86 | Msmdlocal.dll | 9.0.1547.0 | 15,626,528 | 19-May-2006 | 10:26 | x86 | Msmdredir.dll | 9.0.1547.0 | 3,929,888 | 19-May-2006 | 10:26 | x86 | Osql.exe | 2005.90.1547.0 | 83,744 | 19-May-2006 | 13:47 | x64 | Replrec.dll | 2005.90.1547.0 | 1,007,392 | 19-May-2006 | 13:48 | x64 | Sqlaccess.dll | 2005.90.1547.0 | 356,640 | 19-May-2006 | 13:47 | x86 | Sqldiag.exe | 2005.90.1547.0 | 1,127,712 | 19-May-2006 | 13:48 | x64 | Sqlservr.exe | 2005.90.1547.0 | 39,483,168 | 19-May-2006 | 13:47 | x64 | SQL Server 2005 Itanium architecture version|
Microsoft.sqlserver.replication.dll | 2005.90.1547.0 | 2,521,888 | 19-May-2006 | 13:55 | IA-64 | Microsoft.sqlserver.smo.dll | 9.0.1547.0 | 1,551,136 | 19-May-2006 | 13:54 | x86 | Microsoft.sqlserver.sqlenum.dll | 9.0.1547.0 | 863,008 | 19-May-2006 | 13:54 | x86 | Msmdlocal.dll | 9.0.1547.0 | 48,586,016 | 19-May-2006 | 13:54 | IA-64 | Msmdredir.dll | 9.0.1547.0 | 6,079,264 | 19-May-2006 | 13:55 | IA-64 | Osql.exe | 2005.90.1547.0 | 123,168 | 19-May-2006 | 13:54 | IA-64 | Replrec.dll | 2005.90.1547.0 | 2,137,888 | 19-May-2006 | 13:55 | IA-64 | Sqlaccess.dll | 2005.90.1547.0 | 351,520 | 19-May-2006 | 13:54 | x86 | Sqldiag.exe | 2005.90.1547.0 | 1,637,152 | 19-May-2006 | 13:54 | IA-64 | Sqlservr.exe | 2005.90.1547.0 | 72,367,904 | 19-May-2006 | 13:54 | IA-64 |
SQL Server 2005 SP1-based hotfix SQL Server 2005 32-bit version|
Microsoft.sqlserver.sqlenum.dll | 9.0.2159.0 | 908,064 | 31-May-2006 | 10:45 | x86 | Ms.ss.mgdsqldumper.dll | 2005.90.2159.0 | 75,552 | 31-May-2006 | 10:45 | x86 | Msgprox.dll | 2005.90.2159.0 | 197,920 | 31-May-2006 | 10:47 | x86 | Replprov.dll | 2005.90.2159.0 | 547,616 | 31-May-2006 | 10:45 | x86 | Replrec.dll | 2005.90.2159.0 | 782,112 | 31-May-2006 | 10:45 | x86 | Msmdlocal.dll | 9.0.2159.0 | 15,661,856 | 31-May-2006 | 10:46 | x86 | Sqlaccess.dll | 2005.90.2159.0 | 347,936 | 31-May-2006 | 10:47 | x86 | Sqlservr.exe | 2005.90.2159.0 | 28,939,096 | 31-May-2006 | 10:46 | x86 | SQL Server 2005 x64-based version|
Microsoft.sqlserver.sqlenum.dll | 9.0.2159.0 | 875,296 | 31-May-2006 | 11:37 | x86 | Ms.ss.mgdsqldumper.dll | 2005.90.2159.0 | 91,424 | 31-May-2006 | 10:45 | x64 | Msgprox.dll | 2005.90.2159.0 | 259,360 | 31-May-2006 | 11:37 | x64 | Msmdlocal.dll | 9.0.2159.0 | 15,661,856 | 31-May-2006 | 10:46 | x86 | Replprov.dll | 2005.90.2159.0 | 745,248 | 31-May-2006 | 11:37 | x64 | Replrec.dll | 2005.90.2159.0 | 1,008,416 | 31-May-2006 | 11:37 | x64 | Sqlaccess.dll | 2005.90.2159.0 | 355,104 | 31-May-2006 | 11:37 | x86 | Sqlservr.exe | 2005.90.2159.0 | 39,214,368 | 31-May-2006 | 11:38 | x64 | SQL Server 2005 Itanium architecture version|
Microsoft.sqlserver.sqlenum.dll | 9.0.2159.0 | 875,296 | 31-May-2006 | 12:57 | x86 | Ms.ss.mgdsqldumper.dll | 2005.90.2159.0 | 163,104 | 31-May-2006 | 10:45 | IA-64 | Msgprox.dll | 2005.90.2159.0 | 542,496 | 31-May-2006 | 12:57 | IA-64 | Msmdlocal.dll | 9.0.2159.0 | 48,733,984 | 31-May-2006 | 12:57 | IA-64 | Replprov.dll | 2005.90.2159.0 | 1,617,184 | 31-May-2006 | 12:57 | IA-64 | Replrec.dll | 2005.90.2159.0 | 2,141,472 | 31-May-2006 | 12:57 | IA-64 | Sqlaccess.dll | 2005.90.2159.0 | 349,472 | 31-May-2006 | 12:58 | x86 | Sqlservr.exe | 2005.90.2159.0 | 72,182,560 | 31-May-2006 | 12:57 | IA-64 |
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Minor | Last Reviewed: | 7/26/2006 |
---|
Keywords: | kbHotfixServer kbfix kbExpertiseAdvanced kbQFE kbpubtypekc KB918276 kbAudITPRO kbAudDeveloper |
---|
|