-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday 16 March 2003 14:05, Michael Schmitt wrote: > Hi, > I want to do something like 'Give me the first twenty entries from mytable > and tell me if there are any more entries, or better: additionally tell me > how > many entries there are in the table. If possible, all of this with only one > criteria (one select, one db-connection, well, in the end as fast as > possible)'.
take a look at LargeSelect: http://db.apache.org/torque/apidocs/org/apache/torque/util/LargeSelect.html regards, rick - -- |- | peter riegersperger <[EMAIL PROTECTED]> |- | subnet | platform for media art and experimental technologies |- | http://www.subnet.at/ |- | muehlbacherhofweg 5 // 5020 salzburg // austria |- | fon/fax +43/662/842 897 |- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+dHg2IMP39JYOy9IRAogJAKD8TiNYJO8pVg5/OfKIj/ILElR7vwCgurok 5M6GK0VkCj1dMQwGD7VEJ4Y= =Rfdk -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]