Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Borislav Borissov
  Where is Borislav Borissov?
 Sofia
 Bulgaria
 Borislav Borissov
 To: Dany Beelen
  Where is Dany Beelen?
 HERK-DE-STAD
 Belgium
 Dany Beelen
 Tags
Subject: RE: SQL SLOW WITH 2 USERS
Thread ID: 228382 Message ID: 228524 # Views: 1 # Ratings: 0
Version: Visual FoxPro 8 Category: General VFP Topics
Date: Tuesday, May 19, 2009 3:51:16 PM         
   


> HELLO AGAIN
>
> YES I HAVE SEVERAL INDEXES ON THE ARTI TABLE
> I SUPPRESSED DISTINCT AND ADDED WHERE arart > 0;
> INSTEAD OF RUNNING 55 SECS IT RUN NOW 45 SECS
> BUT WHEN I RUN THIS PART OF PROGRAM AS A SINGLE USER THE SAME PROCESS RUNS IN 6 SECS
> IT ONLY BECOMES SLOW WHEN ANOTHER USER USES ARTI


OK, try this and tell me what is the result of the message:
SYS(3054,12,[TestSQL])
*** Your SELECT goes here 
SYS(3054,0)
MessageBox(TestSQL)

-----------------
Borislav Borissov

Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.

ENTIRE THREAD

SQL SLOW WITH 2 USERS Posted by Dany Beelen @ 5/18/2009 5:31:56 PM
RE: SQL SLOW WITH 2 USERS Posted by Borislav Borissov @ 5/18/2009 5:53:56 PM
RE: SQL SLOW WITH 2 USERS Posted by Dany Beelen @ 5/18/2009 7:35:22 PM
RE: SQL SLOW WITH 2 USERS Posted by Borislav Borissov @ 5/18/2009 8:39:12 PM
RE: SQL SLOW WITH 2 USERS Posted by Dany Beelen @ 5/19/2009 3:43:17 PM
RE: SQL SLOW WITH 2 USERS Posted by Borislav Borissov @ 5/19/2009 3:51:16 PM
RE: SQL SLOW WITH 2 USERS Posted by Dany Beelen @ 5/19/2009 4:06:57 PM
RE: SQL SLOW WITH 2 USERS Posted by Borislav Borissov @ 5/19/2009 5:43:18 PM
RE: SQL SLOW WITH 2 USERS Posted by Dany Beelen @ 5/19/2009 6:09:13 PM
RE: SQL SLOW WITH 2 USERS Posted by Dany Beelen @ 5/19/2009 6:26:11 PM
RE: SQL SLOW WITH 2 USERS Posted by Dany Beelen @ 5/19/2009 6:43:42 PM
RE: SQL SLOW WITH 2 USERS Posted by Borislav Borissov @ 5/19/2009 6:56:45 PM
RE: SQL SLOW WITH 2 USERS Posted by Dany Beelen @ 5/20/2009 12:16:17 PM
RE: SQL SLOW WITH 2 USERS Posted by Dany Beelen @ 6/12/2009 5:11:52 PM