FIX: You cannot write text that has more than 32,767 characters in Report Query Designer in SQL Server

Koskee seuraavia: SQL Server 2008 R2 Service Pack 2

This hotfix also applies to Microsoft SQL Server 2012 Reporting Services (SSRS 2012) and SQL Server 2014 Reporting Services (SSRS 2014).


You cannot input text that has more than 32,767 characters in any textboxes in the Report Query Designer in Microsoft SQL Server 2008 R2 Business Intelligence Development Studio (BIDS), SQL Server 2012 SQL Server Data Tools (SSDT), or SQL Server 2014 SQL Server Data Tools (SSDT). For example, assume that you try to create a new dataset. You use query designer, and you choose the Edit as Text option to input the query. In this situation, you cannot input a long query that has more than 32,767 characters.


This issue occurs because textboxes use the default setting of the TextBox.MaxLength property in Report Query Designer, which is 32,767 characters.


The issue was first fixed in the following cumulative update of SQL Server.

Cumulative Update 1 for SQL Server 2014

Cumulative Update 8 for SQL Server 2012 SP1

Cumulative Update 11 for SQL Server 2012

Cumulative Update 9 for SQL Server 2008 R2 SP2


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.