posted 19 years ago
when i use any simple query like
select quantity from purchaseorder where ponumber=somenumber
then if record is not present then it returns false for if(rs.next()) which is correct
but when i am using the query as
select max(quantity) from purchaseorder where ponumber=somenumber
then even though no records presents then also returns true for if(rs.next()) why it is so?