Viewing 15 posts - 136 through 150 (of 4,085 total)
Instead of dividing by 100 try dividing by 100.0. With division the implicit type conversion is to INT unless the denominator is non-INT, either NUMERIC or FLOAT. Also, imo...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
You might also check the encoding of the old and new versions. I know that Notepad++ will show you the encoding.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
I don't use Jeff's string splitter, but this is the broad outline.
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
You're doing integer division, which is why you're getting 0's. Instead of specifying 1 (integer), specify 1.0 (decimal).
Also, you don't need the ISNULL() if you specify the CASE expression correctly.
Viewing 15 posts - 136 through 150 (of 4,085 total)