RE: Table Query taking WAY TO LONG...HELP PLEASE!!!

2003-08-27 Thread Twibell, Cory L
looks like it's using the correct indicesI don't know what else to do... -Original Message- From: Jeremy Zawodny [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 12:23 AM To: Twibell, Cory L Cc: [EMAIL PROTECTED] Subject: Re: Table Query taking WAY TO LONG...HELP PLEA

Re: Table Query taking WAY TO LONG...HELP PLEASE!!!

2003-08-27 Thread Keith C. Ivey
On 26 Aug 2003 at 19:38, Twibell, Cory L wrote: > I have a query that is inner joined with another table based on > country codes Select distinct Name.* from Name inner join Location on > Location.key = Name.key and Location.cc in (' here>'); >From the message you're getting it seems you're using

Re: Table Query taking WAY TO LONG...HELP PLEASE!!!

2003-08-27 Thread Jeremy Zawodny
On Tue, Aug 26, 2003 at 07:38:04PM -0600, Twibell, Cory L wrote: > All, > > I have a query that is inner joined with another table based on > country codes Select distinct Name.* from Name inner join Location > on Location.key = Name.key and Location.cc in (' here>'); > > The problem is when I ha

Re: Table Query taking WAY TO LONG...HELP PLEASE!!!

2003-08-27 Thread Martin Gainty
AIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Twibell, Cory L" <[EMAIL PROTECTED]> Sent: Tuesday, August 26, 2003 7:19 PM Subject: Re: Table Query taking WAY TO LONG...HELP PLEASE!!! > * Twibell, Cory L > > I have a query that is inner joined with another table based

Re: Table Query taking WAY TO LONG...HELP PLEASE!!!

2003-08-27 Thread Roger Baklund
* Twibell, Cory L > I have a query that is inner joined with another table based on > country codes > Select distinct Name.* from Name inner join Location on Location.key = > Name.key and Location.cc in (''); > > The problem is when I have more than 2 country codes, the query > takes forever..

Table Query taking WAY TO LONG...HELP PLEASE!!!

2003-08-27 Thread Twibell, Cory L
All, I have a query that is inner joined with another table based on country codes Select distinct Name.* from Name inner join Location on Location.key = Name.key and Location.cc in (''); The problem is when I have more than 2 country codes, the query takes forever... When I show processlist, it