Hi All,
select CAST(MIN(column_1) AS DECIMAL(10,2)) Days from tale_1
I get output as 13.09 13.30 31.00
Can anybody let me know how to get rid of the zero after the decimal point I need output as 13.09 13.3 31
REgards,
|
0
|
Hi All, select CAST(MIN(column_1) AS DECIMAL(10,2)) Days from tale_1 I get output as 13.09 13.30 31.00 Can anybody let me know how to get rid of the zero after the decimal point I need output as 13.09 13.3 31 REgards, |
||
|
|
|
1
|
Not the cleanest solution and the resulting field is a character data type, but for display purposes it should suffice:
For more information on the format clause check out the Data Types and Literals book in the Teradata manuals. Hope this helps. |
||
|
|