Not true, for small queries etc, a simple inline SQL block in a cfquery is
as fast. 

Only in some circumstances will you see huge performance gains using an SP.







"This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: Teddy Payne
To: CF-Talk
Sent: Mon Aug 28 01:42:25 2006
Subject: Re: Stored procs (was Top 100 ColdFusion Programmers)

I am not sure that I am seeing a valid argument to have ad hoc queries in
CF.

Even for small queries, the execution time will typically always be faster
executed from a databse like MS SQl, Oracle ..etc than from the CF server.

As for contractors waiting for the copy of the stored procedure, the DBA
should has assigned the roles to the contractors to have read access to the
database so they can view the SPs.  Plus, you can each cotnractor copy the
databse locally and test locally before asking for the DBA to commit a
solution.

For the deployment of the stored procedures, ths can be achieved pretty
easily with generated scripts.  It is not uncommon to just copy the sql
necessary to update, backup and deploy all of your stored procedures very
quickly.

Teddy




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251205
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