SQL Data Type | For Reports Other Than Block Style | For Block Style Reports |
---|---|---|
c1 - c35 | c1 - c35 | c1 - c35 |
c36 - cn where n is the lesser of the maximum configured row size and 32,000 | cj0.35 | cj0.35 |
char(1) - char(35) | c1 - c35 | c1 - c35 |
char(36) - char(n) where n is the lesser of the maximum configured row size and 32,000 | cj0.35 | cj0.35 |
text(1) - text(35) | c1 - c35 | c1 - c35 |
text(36) - text(n) where n is the lesser of the maximum configured row size and 32,000 | cj0.35 | cj0.35 |
varchar(1) - varchar(35) | c1 - c35 | c1 - c35 |
varchar(36) - varchar(n) where n is the lesser of the maximum configured row size and 32,000 | cj0.35 | cj0.35 |
integer1 | f6 | f10 |
smallint (integer2) | f6 | f10 |
integer (integer4) | f13 | f10 |
decimal (31.31 - 31.0) | Based on size. For example, decimal (5.1) defaults to f7.1, allowing additional digits for the decimal point and an optional +|- sign. | |
float(n | n10.3 | f10.3 |
float4 | n10.3 | f10.3 |
float8 | n10.3 | f10.3 |
date | c25 | c25 |
money | '$---------------.nn' | '$---------------.nn' |
Report Variable | Default Format |
---|---|
page_number | f6 |
line_number | f6 |
position_number | f6 |
left_margin | f6 |
right_margin | f6 |
page_length | f6 |
page_width | f6 |
current_date | d' 3-feb-1901' |
current_time | d' 3-feb-1901 16:05:06' |
w_column | The default format for the column currently being used in a .within block. See the default column formats in the previous table. |
In place of: | Use QUEL data type: |
---|---|
integer1 | i1 |
smallint | i2 |
integer | i4 |
float4 | f4 |
float | f8 |