TZQuery Fetch All

Forum related to Firebird

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
sat
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 24.08.2009, 17:26

TZQuery Fetch All

Post by sat »

Hello,

How to execute sql statement and fetch all with TZQuery? Or how to execute a sql statement like "SELECT * FROM MyTable ORDER BY MyField" with TZQuery and navigate records as fast as TZTable? i'm using ZEOS 6.6.5 and Firebird 2.1.
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

TZTable is a TZQuery, so it shouldn't make a difference from the zeoslib side. The sorting in TZQuery happens server side. So this might cause some wait between opening the query and reading the first record. After that both methods should be equal.

Mark
Image
Post Reply