Hello all,
 
   I gave a simple Select Statement ->
 
Select Count(*) into $var from msgtable.
 
But the value it returns is wrong.. If there are no rows in the table, the var variable stores 1 and if there r 2 records, the var variable returns 2.... I am not able to find out why.....
 
where as another program which gives the same select on the same table returns correct value..
 
Any ideas are welcome....

Thanks and regards,

Santosh Varma

 

Reply via email to