B
Bharat
Guest
I have written a below query to see what are the possitive and negative integer values from a table fields. But I am not sure how to fetch only negative integer values.
Continue reading...
Code:
DEFINE TEMP-TABLE ttdata NO-UNDO
FIELD iValue1 AS INTEGER
FIELD iValue2 AS INTEGER
.
CREATE ttdata.
ASSIGN
iValue1 = 122
iValue2 = -122
.
FOR EACH ttdata NO-LOCK:
DISP iValue1 iValue2.
END.
Continue reading...