$ 0 0 This is called truncating, if it's up to 18 digits you can simply cast to a bigint: select cast(x as bigint)Or CAST(x - x MOD 1 AS DEC(38,0))Dieter
This is called truncating, if it's up to 18 digits you can simply cast to a bigint:
select cast(x as bigint)
Or CAST(x - x MOD 1 AS DEC(38,0))
Dieter