hi,
can anyone please tell me what can i do with this problem.
i have table in my localhost
and a very simple query
Code:
SELECT
datesold
, ( auctionprice - principal ) as 'Net'
, auctionprice
, principal
FROM sold_tbl where datesold = '2009-01-31'
it results just fine and what i really need.
it also output the negative number when smaller substracts to a larger number.
it is just in my localhost
but when i try this query in my webhost's phpmyadmin
it gives me wrong result when smaller substracts to a larger number.
it gives me very large number and not negative number.
e.g.
3000-3300 = -300 ( in my localhost )
3000-3300 = 18446744073709551316 ( in my webhost )
they all have the same table structure.
what seems to be the problem here?
pls, thanks in advance
