Indeed, you could if you wanted also use SQL Server Paging in the SP to save time and resource.
-----Original Message----- From: Snake [mailto:[EMAIL PROTECTED] Sent: 31 August 2005 09:30 To: CF-Talk Subject: RE: Paging through records OK I think I have thought of a way. Don't do the query in CF at all. Just pass your search criteria and the start/end rows to a stored procedure. The SP queries all the records as usual, but then extracts only the rows you wanted using the start/end, and returns this back to CF as the resultset. So no excess trips to the database for CF, and no storing of unrequired recordset data in the cfserver memory. -- Snake ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216954 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

