Subject: Developers of Sympa
List archive
- From: Olivier Salaun - CRU <address@concealed>
- To: address@concealed
- Subject: [sympa-dev] LIMIT
- Date: Fri, 21 Apr 2000 09:58:45 +0200
I am currently adding new parameters to List::get_first_user used
when Sympa works with a database :
o sortby : may be "domain"(default), "email" or "date"
o offset, rows : the offset of the row to return and the number
of rows.
When these last parameters are set, a LIMIT clause is added to the SELECT.
Performances are the same while sending a messages. The interrest is
while REVIEWING on the web.
I know MySQL's syntax is :
SELECT ...FROM...WHERE...[ORDER BY column] [LIMIT [offset,] rows]
What is the format for other DBMS ? ie :
o PostgreSQL
o Oracle
o Sybase
Thanks
Olivier Salaun
Comite Reseaux des Universites
-
[sympa-dev] LIMIT,
Olivier Salaun - CRU, 04/21/2000
- Re: [sympa-dev] LIMIT, Dominique ROUSSEAU, 04/21/2000
Archive powered by MHonArc 2.6.19+.