List:General Discussion« Previous MessageNext Message »
From:Victoria Reznichenko Date:March 5 2003 5:13pm
Subject:re: re: Simple subtraction problem
View as plain text  
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




Thread
re: re: Simple subtraction problemVictoria Reznichenko5 Mar
  • Get warning info from mysql_info()Jamie Jennings5 Mar
    • Re: Get warning info from mysql_info()Ryan McDougall6 Mar