logo       

Re: zxJDBC: msg#00018

lang.jython.user

Subject: Re: zxJDBC

On 4/26/05, Patil, Babagouda <Babagouda.Patil0@xxxxxxxxxx> wrote:
> But when there are no results i am getting error. How to check whether there
> are any rows returned or not.
>

len(cursor)

you could also wrap your for in a try block.

Greg


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_ids93&alloc_id281&op=click


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

News | FAQ | advertise