RE: limit and order by issuse

2001-09-06 Thread [EMAIL PROTECTED]
issue is solved. check change log here: http://phpmyadmin.sourceforge.net/ChangeLog.txt regards, shahzad -Original Message- From: Henning Schroeder [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 05, 2001 3:23 PM To: [EMAIL PROTECTED] Subject: RE: limit and order by issuse >

Re: limit and order by issuse

2001-09-05 Thread Fournier Jocelyn [Presence-PC]
This is fixed in PhpMyAdmin 2.2.0 - Original Message - From: "Henning Schroeder" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 06, 2001 12:23 AM Subject: RE: limit and order by issuse > > >sh> Here is my query: > >

RE: limit and order by issuse

2001-09-05 Thread Henning Schroeder
>sh> Here is my query: > >sh> SELECT >sh> articleId,arttitle,artsourceId,artstatus,artauthorId,arteventdate,artpre >sh> ss,artpageno,artrankId,artabstract, >sh> artfulltext,artisdisplay,arteditionId,arttypeid,artsubjectid , >sh> asubjectId,asubjectname , FLOOR((TO_DAYS(CURRENT_DATE()) - >sh> TO_D

RE: limit and order by issuse

2001-09-05 Thread Michael Widenius
Hi! > "sh" == shahzazd@shebaak com <[EMAIL PROTECTED]> writes: sh> Thanks for quick response. sh> Here is my query: sh> SELECT sh> articleId,arttitle,artsourceId,artstatus,artauthorId,arteventdate,artpre sh> ss,artpageno,artrankId,artabstract, sh> artfulltext,artisdisplay,arteditionId,artt

RE: limit and order by issuse

2001-09-04 Thread Philip Mak
I see... if adding "ORDER BY articleId DESC LIMIT 0, 20" causes a query to start returning 0 rows, then that sounds like something is wrong. Try using the REPAIR TABLE command on all your tables from inside MySQL, e.g.: REPAIR TABLE article; REPAIR TABLE asubject; REPAIR TABLE atype; REPAIR TABL

RE: limit and order by issuse (fwd)

2001-09-04 Thread Philip Mak
[table sql stupid spam filter] On Tue, 4 Sep 2001, [EMAIL PROTECTED] wrote: > order by articleId desc limit 1 , 20 That will cause no rows to be returned if there are less than 20 results. Use this instead: ORDER BY articleId DESC LIMIT 0, 20 It starts counting at 0 instead of 1. -

RE: limit and order by issuse

2001-09-04 Thread [EMAIL PROTECTED]
al Message- From: Philip Mak [mailto:[EMAIL PROTECTED]] On Behalf Of Philip Mak Sent: Tuesday, September 04, 2001 3:25 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: limit and order by issuse On Tue, 4 Sep 2001 [EMAIL PROTECTED] wrote: > I am trying to use limit and order by in the s

Re: limit and order by issuse

2001-09-04 Thread Philip Mak
On Tue, 4 Sep 2001 [EMAIL PROTECTED] wrote: > I am trying to use limit and order by in the same query for paging of > records. But faceing the problem that query does not return any row. > After removing of limit every thing is working fine. > > Is it really a bug. Any solution. Going by what yo

limit and order by issuselimit and order by issuse

2001-09-04 Thread shahzad
hello, I am trying to use limit and order by in the same query for paging of records. But faceing the problem that query does not return any row. After removing of limit every thing is working fine. Is it really a bug. Any solution. mysql version 3.23.38 regards, shahzad -