Thanks for the reply
I have a table of 10 rows. All have either a 999 or 1000 in a field called Money.
Select Emp_id, min(Money)as minimum, max(Money) as maximum from testtable where emp_id=3456
group by emp_id
When I try to get the max and min of a column with a money datatype it brings back 1000 as min and 999 as max. Obviously, I need 1000 to be the max. I have tried to cast and convert this to different datatypes, but have been unable to make this work properly. Any ideas?
Thanks!
HIC
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.