Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Very slow SQL Update even when index exists
Message
From
08/12/2006 20:38:39
 
 
To
08/12/2006 17:53:50
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01174680
Message ID:
01176315
Views:
6
>I disagree.
>IN (SELECT FROM listTable without a WHERE) is not similar to a join, and you ( if want ) can optimize the UPDATE as the IN ()
>Of course, if RECCOUNT(listTable) > RECCOUNT(updateTable) the scan of updateTable can to be faster.

Hi Fabio,

I wasn't talking in general, I was talking about capabilities of SQL engine in VFP. In general, it is possible to optimize conditions like that and I am sure there are SQL engines that do.

Thanks,
Aleksey.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform