-
Sql Query is taking forever
Hi, I'm no expert in SQL but I'm running this query in query analyzer in sql server 2000 and its taking forever ( I havent been able to sit long enough to see if it times out ) anyways heres the query :
select distinct partyname,resppartynm,judgment1.casenumber,judgmentdate,judgmentEventCodeDescription,Descr iptionError,disp,judgment2.jseq from judgment1,judgment2 where judgmentdate between '9/11/2000' and '9/12/2000'and judgment2.inf = 1 or judgment2.inf = 2
I dont know if its the way I wrote it or what but its just sits there taking forever to finish executing (which again, I've never sat long enough to see it finish ) Help !
Similar Threads
-
By ToddT in forum Database
Replies: 2
Last Post: 05-24-2005, 04:50 PM
-
By dhaya in forum Database
Replies: 11
Last Post: 08-25-2003, 05:24 PM
-
By Ken D. in forum VB Classic
Replies: 2
Last Post: 09-03-2002, 11:25 PM
-
By Andy Jackson in forum VB Classic
Replies: 1
Last Post: 04-28-2002, 08:41 AM
-
By Jeff Johnson in forum Database
Replies: 3
Last Post: 04-30-2001, 02:42 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks