Hi,
I am trying to write some SAS codes in Teradata. There is one condition in my code :
avg_depth>0
So, the thing is when I am removing this condition from SAS and Teradata, the results are exact match to the decimal places, but after putting this condition I am getting differences between the result.
PS: avg_depth=sum(x)/sum(y)
I have casted sum(x) and sum(y) to decimal(18,6)
Forums: