15.12 - Setting Result Set Viewer Preferences - Teradata Studio

Teradata Studio Express User Guide

prodname
Teradata Studio
vrm_release
15.12
created_date
August 2016
category
User Guide
featnum
B035-2042-086K

Use the Teradata Result Set Viewer preferences to configure views of result-set data.

  1. Click Window in the top menu and select Preferences.
  2. Expand Teradata Datatools Preferences.
  3. Select Result Set Viewer Preferences.
  4. [Optional] Under Alternating Row Colors Option, enable the display of an alternate row background color:
    1. Select the Display alternate Result Set rows in color check box.
    2. Right-click the color box, and select a color in the Color dialog.
    3. Click OK.
  5. Under Grid Display Options, select the following options as appropriate:
    Option Description
    Show Row Numbers Select to show row numbers in the grid display. This option is enabled by default.
    Show Column Headers Select to show column headers in the grid display. This option is enabled by default.
    Show Table Grid Lines Select to display lines between rows and columns in table grid display. This options is enabled by default.
    (*) Display Column Titles rather than Column Names Select to display column titles (if available) instead of column names as labels in column headers. This option is disabled by default.
    You must rerun the query to effect any change you make.
    (*) Max Display Row Count Specify the maximum number of rows to display. The default value is 2000.
    You must be rerun the query to effect any change you make.
    Display Null value as Specify the value or string you want displayed when a value results in an empty set or zero value. The default value is null.
  6. Under Format Options, select the following options as appropriate:
    Option Description
    Long Text Boundary Size Type the number of characters allowed for the long text boundary size. Default is 150 characters. If a data value length is longer than the long text boundary size, only the first 20 characters display. You can view the entire data value by double-clicking the value in the display grid. The value displays in a new window.
    Display 1000 Separator in Numeric Columns Select to display a 1000 separator in numeric columns. This option is disabled by default.
    Display Negative Numbers in Red Select to enable display of negative numbers in red. The options is enabled by default.
    Display Date Format Specify the format to use to display the date in the result set. Default format is yyyy-mm-dd. When you specify the format, you must use the Java SimpleDateFormat notation to format the date. See Java Simple Date Format.
  7. Under Copy Column Delimiter, in the Delimiter Format field, select how you want columns delimited when the Copy data option is used on the grid display.
    Option Description
    Comma Separated Uses commas as delimiters to separate column data (default).
    Tab Separated Uses tabs as delimiters to separate column data.
    User Defined Type the delimiter you want to use in the Delimiter Value field.
  8. [Optional] Under Delimiter Value, select the following options as appropriate: you want column headers delimited when the Copy data option is used on the grid display.
    Option Description
    Copy Include Column Headers Specifies to include column headers as delimited values when the Copy data option is used on the grid display.
    Copy Include Grid Lines Specifies to include grid lines as delimited values when the Copy data option is used on the grid display.
  9. [Optional] Under Viewer Window Options, select Reuse Result Set Viewer Window if you want newly generated result sets to display in the currently open Viewer window. If the check box is not selected, each new result set displays in a separate window in the Result Set Viewer.
  10. [Optional] To clear selections and restore default settings, click Restore Defaults.
  11. To apply your changes, click Apply.
    Clicking Apply or OK refreshes the current display of result sets in the Result Set Viewer to correspond with your changes.
  12. Click OK to apply your changes and close the Preferences dialog.