Subject | RE: [firebird-support] How do I read a specific range of records from a table in the database |
---|---|
Author | Rudy Popeszku |
Post date | 2013-01-22T13:10:14Z |
Thanks, I tried rows and it does the trick.
Rudy
From: firebird-support@yahoogroups.com [mailto:firebird-support@yahoogroups.com] On Behalf Of Mark Rotteveel
Sent: Tuesday, January 22, 2013 2:06 AM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] How do I read a specific range of records from a table in the database
On Mon, 21 Jan 2013 15:45:54 -0500, Ann Harrison aharrison@... <mailto:aharrison%40ibphoenix.com> >
wrote:
You can also use ROWS:
http://www.firebirdsql.org/file/documentation/reference_manuals/reference_material/html/langrefupd25-select.html#langrefupd25-select-rows
Mark
[Non-text portions of this message have been removed]
Rudy
From: firebird-support@yahoogroups.com [mailto:firebird-support@yahoogroups.com] On Behalf Of Mark Rotteveel
Sent: Tuesday, January 22, 2013 2:06 AM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] How do I read a specific range of records from a table in the database
On Mon, 21 Jan 2013 15:45:54 -0500, Ann Harrison aharrison@... <mailto:aharrison%40ibphoenix.com> >
wrote:
> On Mon, Jan 21, 2013 at 2:59 PM, HotRodRudy rpopeszku@... <mailto:rpopeszku%40aps-tech.com> >wrote:
>database
>> Support,
>>
>> I am using Firebird server 2.5.2, Windows 7, and Visual Basic 2010.
>>
>> I would like to read a certain # of records from a table in the
>> using a start / stop record range. I am trying to re-write anapplication
>> written by someone else which reads the entire database from beginningto
>> end which takes a long time and I may only need the last 1000 recordsof
>> atables and conditions>
>> database that can have over 100,000.
>
> You can using something like SELECT FIRST FROM
You can also use ROWS:
http://www.firebirdsql.org/file/documentation/reference_manuals/reference_material/html/langrefupd25-select.html#langrefupd25-select-rows
Mark
[Non-text portions of this message have been removed]