On Tuesday 04 March 2003 19:35, Jamie Jennings wrote:
> Yes that must be it. Both columns are unsigned. Is
> there any way to accomplish this with one query with
> unsigned columns?
Take a look at cast functions:
http://www.mysql.com/doc/en/Cast_Functions.html
> Otherwise I will have to fetch each column seperately
> (two queries) and then do the subtraction outside
> MySQL (in my C code).
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Victoria Reznichenko
/ /|_/ / // /\ \/ /_/ / /__ Victoria.Reznichenko@stripped
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com