Hello all:

I need to make certain operations like this:

select tbl_no as 'Number' , @sal1 := tbl_db - tbl_hb + @sal1 as 'Total'

I'm using the C API; so I make it through mysql_query()

Problem is than having `tbl_db' and 'tbl_hb' with certain values no 

operation is carried out, and `Total' is NULL.

What am I doing bad ?

Please, help me

Thanks all

Carlos Savoretti
[EMAIL PROTECTED]
...



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to