Are you using SQL Server 2005? Respectfully, Adam Phillip Churvis Certified Advanced ColdFusion MX 7 Developer BlueDragon Alliance Founding Committee
Get advanced intensive Master-level training in C# & ASP.NET 2.0 for ColdFusion Developers at ProductivityEnhancement.com ----- Original Message ----- From: Jim Curran To: CF-Talk Sent: Monday, March 27, 2006 10:45 AM Subject: DB Pagination Question Hi All, I am wondering what the best way to handle the following situation is. I have a database with approx 100,000 records. Users can search on these records with multiple criteria. Some result sets can contain 10,000 records or more. Also, there is a possibility of sorting the results. Using CF & SQL server, what is the most efficient way to paginate through the results, without hogging memory or re-running the entire query for each page view? TIA. - jim ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236246 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

