Changing Screen Width

Basic Teradata Query Reference

brand
Teradata Tools and Utilities
prodname
Basic Teradata Query
vrm_release
16.20
category
Programming Reference
featnum
B035-2414-108K

The default WIDTH setting accommodates a display of result lines with a maximum of 75 characters for interactive use.

Less characters might be displayed if non-Unicode multibyte characters exist in the output.

If the terminal screen can display more than 75 characters, it is possible to increase the WIDTH setting. This can be of value when using SQL requests that return larger sized column values or rows than are viewable using the default setting. The valid range is from 20 to 1048575.

Example – WIDTH

Use the following BTEQ WIDTH command to change the screen width specification to 120 characters:

.SET WIDTH 120

If a screen width is specified that is smaller than 20 characters or larger than 1048575 characters, BTEQ displays the following error message:

***  Error:  Width value must be in the 20..1048575 range.