Subject | Re: [firebird-support] Re: If Not SELECT COUNT(*), Then What? |
---|---|
Author | Martijn Tonies |
Post date | 2008-12-10T11:36:53Z |
Hi,
export of data), I never display "progress", only that the
application is busy and perhaps display the current number
of rows exported.
In all other situations, the number of rows requests should
be small that no notion of "progress" is required.
With regards,
Martijn Tonies
Upscene Productions
http://www.upscene.com
Download Database Workbench for Oracle, MS SQL Server, Sybase SQL
Anywhere, MySQL, InterBase, NexusDB and Firebird!
Database questions? Check the forum:
http://www.databasedevelopmentforum.com
> This is, in fact, about displaying a progress window.If there is a case when a user needs lots of rows (eg: an
>
> I start a transaction, then get the count of records to
> be read, and display that. Then I run the select, updating
> the display of records read after every 100 fetches, and
> then I commit the transaction.
>
> This application is currently using the embedded server,
> so at this time the database won't be changed. And if it
> is, so what? We have to start a transaction at some point,
> and if the
>
> So I am using this count for exactly the application you
> say is inefficient. How would you do this?
export of data), I never display "progress", only that the
application is busy and perhaps display the current number
of rows exported.
In all other situations, the number of rows requests should
be small that no notion of "progress" is required.
With regards,
Martijn Tonies
Upscene Productions
http://www.upscene.com
Download Database Workbench for Oracle, MS SQL Server, Sybase SQL
Anywhere, MySQL, InterBase, NexusDB and Firebird!
Database questions? Check the forum:
http://www.databasedevelopmentforum.com