KNOWLEDGE BASE

SQL Server Text Fields Have a 1024-Character Limit


Published: 11 May 2013
Last Modified Date: 01 Mar 2017

Issue

When a Microsoft SQL Server text dimension is used in a Tableau Desktop view, only 1024 characters display.

 

Environment

  • Tableau Desktop
  • Microsoft SQL Server

Resolution

Try one of the following workarounds: 
  1. Connect to SQL Server using a generic ODBC connection. On the Connect to Data page, select Other Databases (ODBC).
  2. Change the field type in the MS SQL Server to VARCHAR(MAX) or NVARCHAR(MAX)

Cause

This character limit is specific to Microsoft SQL Server. Character limits vary depending on the database and driver combination.

 

Did this article resolve the issue?