![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 06 Apr 2012 @ 16:56:17 GMT
Hi..
select 123456.789654321 as etx,cast(etx as int)
||'-'||(substr(etx,position('.' in etx)+1))
Thanks, Mahesh
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||