MySQL Forums
Forum List  »  Newbie

calculation errors
Posted by: chris bagnall
Date: January 11, 2008 06:49PM

i transferred a database from one machine to another and everything works fine except simple calculations that return a minus figure.

this is on all tables except new ones i create.

so for example select weight-height with figures of 6 and 10 (should return -4) actually returns a ridiculously high positive number

the column types are the same and im just not getting why its doing this.

any suggestions?

Options: ReplyQuote

Written By
calculation errors
January 11, 2008 06:49PM
January 12, 2008 06:11PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.