Hi Mahesh,
there's ROUND in TD14...
In your case you don't need ROUND as a CAST AS DECIIMAL(xx,0) should return the same result.
But i assume W_ORDER_D.X_ATTRIB_27 is a TIMESTAMP and then it's probably more complicated, depends on what you actually want. Do you already have a replacement for those calculations?
SYSDATE + ( 330 / 1440 ) -> SYYDATE + INTERVAL 330 MINUTE
W_ORDER_D.X_ATTRIB_27 - SYSDATE will return an INTERVAL, e.g. DAY(4) TO SECOND
Hi Mahesh,
there's ROUND in TD14...
In your case you don't need ROUND as a CAST AS DECIIMAL(xx,0) should return the same result.
But i assume W_ORDER_D.X_ATTRIB_27 is a TIMESTAMP and then it's probably more complicated, depends on what you actually want. Do you already have a replacement for those calculations?
SYSDATE + ( 330 / 1440 ) -> SYYDATE + INTERVAL 330 MINUTE
W_ORDER_D.X_ATTRIB_27 - SYSDATE will return an INTERVAL, e.g. DAY(4) TO SECOND
Dieter