Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optimizing speed of SQL Select
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01057215
Message ID:
01057361
Views:
9
Ok, the syntax for SQL Server is
*if a record is locked it´s NOT in the result
select MYFIELD from MYTABLE WITH (readpast) where MYFIELD1 = "00"
*if an update has been committed, new val, else old val
select MYFIELD from MYTABLE WITH (readcommitted) where MYFIELD1 = "00"
Hope this helps
G
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform