MySQL Forums
Forum List  »  German

Re: DISTRINCT weiter eingrenzen
Posted by: Torsten Egeler
Date: April 08, 2012 11:59AM

Es ist unterschiedlich, mal liefern count(auf 1. abfrage) und mysql_num_rows(auf 2. abfrage) die gleichen werte und manchmal sind sie unterschiedlich.

Hintergrund der 2 Abfragen
Die Count-Abfrage soll einfach schneller sein, als die tatsächliche Abfrage der Daten. Diese wirden für die Anzeige verwendet und mit LIMIT eingegrenzt

Options: ReplyQuote


Subject
Views
Written By
Posted
1761
April 08, 2012 11:07AM
1035
April 08, 2012 11:25AM
971
April 08, 2012 11:52AM
Re: DISTRINCT weiter eingrenzen
1025
April 08, 2012 11:59AM
1429
April 08, 2012 12:26PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.