Barney Boisvert wrote: > Rick, you are aware that using that UDF requires you to select your > entire table out of the database and into CF's memory so you can call > the UDF, right? Suitable for some applications, but by and large, > having the DB to the work is a much better route to go.
Obviously it's not a great solution if you have a large amounts of data. I haven't used Access or SQL Server in years, so the "TOP" keyword didn't come to my mind, although I guess you can use a LIMIT clause in MySQL and Postgres to do the same thing. - Rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192867 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

