Dear All,
If we fire below queries on SQLassistant13.10/bteq, it will through mentioned results
SELECT 10 /2 --5
SELECT 2/10 -- (Hope this should have given 0.2 instead of giving 0)
If we do casting it will be given proper values
SELECT CAST(2 AS DECIMAL(10,2)) / CAST(10 AS DECIMAL(10,2)) ; --0.2
Please let me know the diff ? when i was working with TD12.00 I havn't faced this kind of issues.
↧