Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Off-Topic -> Select in Informix

Off-Topic -> Select in Informix

From: Santosh Varma <vsantosh_at_psi.soft.net>
Date: Wed, 04 Sep 2002 02:13:39 -0800
Message-ID: <F001.004C718F.20020904021339@fatcity.com>






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

 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Santosh Varma
  INET: vsantosh_at_psi.soft.net

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Sep 04 2002 - 05:13:39 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US