logo       

zxJDBC: msg#00011

lang.jython.user

Subject: zxJDBC

Hi,

I am using zxJDBC in Jython for accessing databse. For selecting columns I am
using

select * from temptable where name = a

for a in cursor.fetchall():
....
.....

But when there are no results i am getting error. How to check whether there
are any rows returned or not.

Thanks,
Susheel


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise