Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select ..FOR UPDATE is to Oracle as _____ is to SQLServe
Message
From
17/02/1999 02:50:39
 
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00187943
Message ID:
00188298
Views:
22
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform