Just a note on indexes - every one of your tables should have at least one
unique constraint or index *other* than the primary key. This way, the
primary key is not what makes a row in your table unique - it just
identifies it for relationship purposes.

This helps to avoid duplicate data and helps speed up query performance as
you have found :)

HTH

Dominic


On 23/04/2008, James Holmes <[EMAIL PROTECTED]> wrote:
>
> Did you try the UNION ALL as suggested by Rizal? This might make it a
> little quicker as the DB won't have to scan for duplicates.
>
> On Wed, Apr 23, 2008 at 11:03 AM, Rick Faircloth
> <[EMAIL PROTECTED]> wrote:
> > If I had set up the original db that's providing the
> >  data, it would have definitely been set up differently.
>
> --
> mxAjax / CFAjax docs and other useful articles:
> http://www.bifrost.com.au/blog/
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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