Use DTS - you can pass in variables - and it will no doubt be faster than
using crappy dynamic SQL.







-----Original Message-----
From: C. Hatton Humphrey [mailto:[EMAIL PROTECTED] 
Sent: 13 April 2005 17:10
To: CF-Talk
Subject: Re: Best Practices - Large Data Load

Okay, I got it rewritten into workable SQL; now I just have to change
it to a dynamic query so I can pass in database names to a stored
procedure;

The inital CF based method was taking something in the order of 30
minutes to chug through; the cross-db method took a total of 44
seconds on my dev box... should take much less on the production
server.

I knew I was hammering with a wrench, I just needed a redirect to find
the right tool!

Thanks!

On 4/13/05, C. Hatton Humphrey <[EMAIL PROTECTED]> wrote:
> > Good god don't do it in CF - you will kill it.  This should all be done
> > inside SQL Server - DTS / SP type thing.
> 
> This is something that has to be portable and web-launchable;  I
> haven't done much direct DB - DB interaction so I'll fiddle around
> with the syntax and see how it works out.
> 
> Hatton
>



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

Reply via email to