I've had problems due to the general way in which CF handles preparing
the statement.  If I recall correctly (it's been a while) I had a
table with 15 million rows where the primary key was a varchar(36).
Because CF uses a generic type of nvarchar(4000) (i believe), the
server would choke as it performed the conversion.

By changing it to a simple statement, queries decreased from 2 minutes
to milliseconds.

-- 
Ryan Emerle
------------------------------------
Query2Excel - Write Excel files from ColdFusion
http://www.emerle.net/programming/display.cfm/t/cfx_query2excel
------------------------------------
Excel2Query - Read Excel files from ColdFusion
http://www.emerle.net/programming/display.cfm/t/cfx_excel2query

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:265481
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to