![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 20 Dec 2006 @ 17:25:28 GMT
<-- Anonymously Posted: Wednesday, December 20, 2006 10:56 --> If you insist on that format, try
select
trim(leading ' ' from
trim(trailing '.' from
trim(trailing '0' from
cast(SUM(COALESCE(SALARY,0)) AS DECIMAL(13,2))
)
)
) ...
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||