Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Locked records in SQL statement.
Message
De
15/02/2000 15:12:43
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00331985
Message ID:
00332436
Vues:
13
>But ISRLOCK(), as you stated, doesn't tell you whether you can actually get a lock on the record because it doesn't take into acount other people's locks.
>
>As for locking an already locked record, I guess it could save me .001 seconds or less. Not a lot in the great scheme of things unless we are talking about 500 records or more.
>

What about the situation where you try to get a lock and fail on the first attempt - reprocess could tieyou up a while...

>>Two issues - first, it's very fast relative to attempting RLOCK(), and it >doesn't acquire the. If you're relying on explicit rather than implicit >(automatic) locking, knowing the lock status is advantageous so that you >attempt to acquire the lock before making changes in row-buffered tables.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform