NonStop SQL/MP Reference Manual

Table Of Contents
NonStop SQL/MP Reference Manual142115
N-11
Examples—NULL_DISPLAY
Examples—NULL_DISPLAY
The following example adds a column with null values and prints the column twice,
using a different value for the NULL_DISPLAY option each time:
>> ALTER TABLE PRJ ADD COLUMN DEPT PIC X(6) DEFAULT NULL;
--- SQL operation complete.
>> SELECT DEPT FROM PRJ;
DEPT
------
?
?
?
--- 3 row(s) selected.
>> SET STYLE NULL_DISPLAY "Z";
>> SELECT DEPT FROM PRJ;
DEPT
------
Z
Z
Z
Numeric Data Types
The following table lists the numeric data types available in NonStop SQL/MP. A
numeric data type is compatible with any other numeric data type, but not with
character, date-time, or interval data types.