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 02:50:39
 
 
À
16/02/1999 12:42:33
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00187943
Message ID:
00188298
Vues:
21
Basically optimistic..
Our app works with Foxpro now. And uses Buffering set to 5...

If you mean should I hold the lock or only when updating.
The idea is only when updating..
edit button clicked...
BEGIN TRANSACTION
Call the function to lock...(Via SELECT for update ect..)
Make update statement....and update record..
END (COMMIT) TRANSACTION
save or cancel button clicked...

Would be similar in foxpro to...
edit button clicked...
RLOCK()
REPLACE....
TABLEUPDATE()
UNLOCK()
save or cancel button clicked...

BUT...There is one activity where i must lock the entire system...
However, I could just lock an access rights table.
There are many ways to do it for me.

But I'll take what I can get....
Why do you ask?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform