In Microsoft SQL Server 2008, you have compression enabled on a table. However, when you run a query that joins columns on the table, you may receive the following assertion message. Additionally, a mini-dump file is generated in the SQL Server log folder.
Comment: Location: e:\sql10_katmai_t\sql\ntdbms\storeng\dfs\access\sebind.h:1139
Expression: bufferLen >= colLen
Additionally, the following error message is logged in the SQL Server errorlog file:
This problem occurs when you perform a join operation on different data types that have different lengths. For example, if you join a varchar
(100) column and a char
(25) column, and you have compression enabled on the table that has multiple database partitions created, you will encounter this problem.
The fix for this issue was first released in Cumulative Update 5 for SQL Server 2008 Service Pack 1. For more information about this cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
Cumulative update package 5 for SQL Server 2008 Service Pack 1
Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 fix release. Microsoft recommends that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
The SQL Server 2008 builds that were released after SQL Server 2008 Service Pack 1 was released
Microsoft SQL Server 2008 hotfixes are created for specific SQL Server service packs. You must apply a SQL Server 2008 Service Pack 1 hotfix to an installation of SQL Server 2008 Service Pack 1. By default, any hotfix that is provided in a SQL Server service pack is included in the next SQL Server service pack.
To work around this problem, make sure that the columns that you are trying to join have the same data type and the same length.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about the Incremental Servicing Model for SQL Server, click the following article number to view the article in the Microsoft Knowledge Base:
An Incremental Servicing Model is available from the SQL Server team to deliver hotfixes for reported problems
For more information about the naming schema for SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base:
New naming schema for Microsoft SQL Server software update packages
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
Description of the standard terminology that is used to describe Microsoft software updates