Folks, please enlight me.
Then I create a table I would say N(10,2) to get a field with preset width / decimals.
Is there kind of same thing for SELECT statement?
I could use
sele 000000.00+round(oldVal,2) as newVal
but this looks kind of clumzy (and I'm not sure it works as intended... It seems not).
So, what is the right way of ensuring proper width / decimals in evaluated field in SELECT statement?
Then I create a table I would say N(10,2) to get a field with preset width / decimals.
Is there kind of same thing for SELECT statement?
I could use
sele 000000.00+round(oldVal,2) as newVal
but this looks kind of clumzy (and I'm not sure it works as intended... It seems not).
So, what is the right way of ensuring proper width / decimals in evaluated field in SELECT statement?