Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select ..FOR UPDATE is to Oracle as _____ is to SQLServe
Message
De
17/02/1999 22:22:42
 
 
À
17/02/1999 09:57:03
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00187943
Message ID:
00188751
Vues:
19
Tim,

Are you trying to make *sure* that no one else can read records that another user is editing? Because if not, you might be able to get away with simply allowing the current user to overwrite the records ala VFP's

=TABLEUPDATE(.T., .T.)

If you really need to control access, you consider a stored procedure on the backend server that consults and populates a Keys_In_Use table before returning records. (you can utilize a timestamp field to recurringly wipe out entries older than a decided-upon timeout period, as well as a client identifier that clears out old entries upon each new request)

HTH,

-Bernie
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform