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 Informix

Off-topic Informix

From: Santosh Varma <vsantosh_at_psi.soft.net>
Date: Wed, 04 Sep 2002 21:08:17 -0800
Message-ID: <F001.004C8143.20020904210817@fatcity.com>






Hello all,
 
    I have a problem in Informix... I wrote a program which will select count(*) from a table.
Select count(*) into $var from ibtab;
 
If there are no rows also, the variable var is showing as 1 and if there are 1 records, it shows as 2..
and another program which also uses the same select shows the correct result..
 
What may be the reason ??

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 Thu Sep 05 2002 - 00:08:17 CDT

Original text of this message

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