Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Optimizing speed of SQL Select
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01057215
Message ID:
01057361
Vues:
10
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform