Reply to How to override zero rows returned

Your name:

Reply:


Posted by yoohanman on 09/13/05 16:33

Hi,

I have a select statment that correctly returns zero rows at times. I
would like to be able to return the value 0 (a single row with the
value 0) whenever the logic returns zero rows.

something like this

If no.of.rows.returned = 0 then
output 0
else
output query results
end if

Can anyone poing me in the right direction to do this?

many thanks,
yohan

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация