Yes of course, but are you sure your customers will browse through all 
of the 80000 records? You can do something like this:

Select Top 500 From ... WHERE ... ORDER BY ...

Or LIMIT for MySQL

But you should consider, that only in some cases a user will browse 
until page 800!!!

There are other tricks on how you can obtain Rows between pages for eg: 
351 and 352 But only if this is necessary since it's a little 
sophisticated...

Gert

Greetings / Grüsse
Gert Franz
Customer Care
Railo Technologies GmbH
[EMAIL PROTECTED]
www.railo.ch

Join our Mailing List / Treten Sie unserer Mailingliste bei:
deutsch: http://de.groups.yahoo.com/group/railo/
english: http://groups.yahoo.com/group/railo_talk/



hussain shaikh schrieb:
> Hi Franz,
> I have to fetch the entire 80000 records since I have implemented sorting on 
> the columns of the table, so i have to query the table with the order by 
> clause so that the entire records are sorted and then displayed.
>
>
>   
>> Well it surely is something that you should not do. Since 80000 records 
>> are somethin that has to be skipped through even when you only skip 
>> through 100 records. Try only to query 100 the records you need...
>>
>> You can easily check this by using GetTickCount() before and after the 
>> QueryOutput...
>>
>> Greetings / Grüsse
>> Gert Franz
>> Customer Care
>> Railo Technologies GmbH
>> [EMAIL PROTECTED]
>> www.railo.ch
>>
>> Join our Mailing List / Treten Sie unserer Mailingliste bei:
>> deutsch: http://de.groups.yahoo.com/group/railo/
>> english: http://groups.yahoo.com/group/railo_talk/
>>
>>
>>
>> hussain shaikh schrieb:
>>     
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267272
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to