[firebird-support] Python FDB 1.4 not returning the first record

2013-08-16 Thread greatdaydan
I have just started using Python and have discovered FDB. Super-duper! Now I 
can create a web interface for one of my applications.

I am using the FDB 1.4 documentation to learn how to use FDB.

A 'select * from table' returns all but the first record. 

A 'select * from table where id = x' returns an empty [].

A 'select * from table where id < 4' returns [(2,),(3,)].

I created a db & table using FDB then inserted some data. The 'selects' return 
the correct data.

Can someone explain why this is happening?

Windows 8 64bit, Python 3.3, FDB 1.4



Re: [firebird-support] Python FDB 1.4 not returning the first record

2013-08-16 Thread Frank Schlottmann-Gödde
On 16.08.2013 11:50, greatdaydan wrote:
> I have just started using Python and have discovered FDB. Super-duper! Now I 
> can create a web interface for one of my applications.
>
> I am using the FDB 1.4 documentation to learn how to use FDB.
>
> A 'select * from table' returns all but the first record.
>
> A 'select * from table where id = x' returns an empty [].
>
> A 'select * from table where id<  4' returns [(2,),(3,)].
>
> I created a db&  table using FDB then inserted some data. The 'selects' 
> return the correct data.
>
> Can someone explain why this is happening?
>


Probably you will get more answers for Python related questions at

firebird-pyt...@yahoogroups.com


hth
fsg

-- 
"Fascinating creatures, phoenixes, they can carry immensely heavy loads,
   their tears have healing powers and they make highly faithful pets."
   - J.K. Rowling