> There a lot of funny business going on in this SQL statement.  I would try 
> to accomplish the logic outside the SQL statement.  I you need 
> conditionals I would limited to <cfif> statements any thing more than that 
> seems a little messy for lack of a better term.
>

Yup it is messy, but the advantage is speed - only one update statement 
rather than query, loop and multiple updates.

Plus I like expanding my SQL knowledge whenever possible.

-- Josh



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:264950
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