How do you order by negative and positive numbers DB2 Sql Syntax -
when run following sql following results db2 sql :
select * lotoil1 lotkey = 'b20130806' order oipri asc the results :

i ordering on oipri , results :
-3 -1 0 3 what need results?
thanks in advance.
try
order oipri * 1 asc to force integer conversion.
but should change data type numeric type.
Comments
Post a Comment