Increase the text size for the Adaptive Server ODBC driver

The Adaptive Server ODBC driver truncates text or image data values that are larger than the value set in the ODBC configuration in Microsoft Windows for the driver. You must increase the text size value in the ODBC Control Panel, or set the value in the database options parameter for your database connection to avoid this issue.

StepsIncreasing the text size value using the Control Panel

  1. Select Control Panel | Administrative Tools | Data Sources (ODBC), then select the data source for Adaptive Server Enterprise in the User DSN or System DSN tab.

  2. Select Configure to display the ODBC Adaptive Server Enterprise Setup window, then select Advanced.

  3. Change the value for Text Size to a value larger than 32KB, which is the default. The Adaptive Server ODBC drive truncates any data value that is larger than the value you set here.

StepsIncreasing the text size value using Database Options

  1. In the Properties window for the database connection, double-click the edit icon of the Database Options field to display the Enter Properties window.

  2. In the “Extended Connect Options” field, enter “TEXTSIZE=N” where N is the text size value you want to set.