NonStop SQL/MP Reference Manual

Table Of Contents
NonStop SQL/MP Reference Manual142115
S-46
SET STYLE Command
SET STYLE Command
SET STYLE is an SQLCI report writer command that sets style options. Style options
affect the appearance of specific report items, such as underlines, headings, and date and
time formats.
The default settings are:
* resets all style options to their default settings.
For information about a specific option, see the entry for that option.
Considerations—SET STYLE
You cannot specify the same option more than once in a single SET STYLE command.
SET [ STYLE ] option [ , option ] ... ;
option is:
{ DATE_FORMAT date-format }
{ DECIMAL_POINT { "." | "," }}
{ HEADINGS { ON | OFF } }
{ NEWLINE_CHAR "character" }
{ NULL_DISPLAY "character" }
{ OVERFLOW_CHAR "character" }
{ ROWCOUNT { ON | OFF } }
{ SUBTOTAL_LABEL "label" }
{ TIME_FORMAT time-format }
{ UNDERLINE_CHAR "character" }
{ VARCHAR_WIDTH number }
DATE_FORMAT M2/D2/Y2
DECIMAL_POINT period (.)
HEADINGS ON
NEWLINE_CHAR slash (/)
NULL_DISPLAY question mark (?)
OVERFLOW_CHAR asterisk (*)
ROWCOUNT ON
SUBTOTAL_LABEL *
TIME_FORMAT HP2:M2:S2
UNDERLINE_CHAR hyphen (-)
VARCHAR_WIDTH 80