M
Matt
Hi All,
I have a query that pulls in data from 3 different tables. When I run
the query without using the DISTINCT keyword, the query runs in about
20 seconds. When I run the query with the DISTINCT keyword it takes
about 10 minutes. I can't imagine that this is the the real reason
that my query is hanging for so long, but I don't have any other
explaination.
Has anyone else had this problem? Does it seem like something else is
wrong here?
Note: The query does contain a subquery, which I originally thought
might be the reason that the query is hanging. After playing around I
have found that the subquery only slows it down a little. Would the
combination of a subquery and DISTNCT give me this problem?
Thanks for any and all advice!!!!
I have a query that pulls in data from 3 different tables. When I run
the query without using the DISTINCT keyword, the query runs in about
20 seconds. When I run the query with the DISTINCT keyword it takes
about 10 minutes. I can't imagine that this is the the real reason
that my query is hanging for so long, but I don't have any other
explaination.
Has anyone else had this problem? Does it seem like something else is
wrong here?
Note: The query does contain a subquery, which I originally thought
might be the reason that the query is hanging. After playing around I
have found that the subquery only slows it down a little. Would the
combination of a subquery and DISTNCT give me this problem?
Thanks for any and all advice!!!!