Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL record locking and transactions
Message
From
05/02/2004 03:32:09
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
SQL record locking and transactions
Miscellaneous
Thread ID:
00874330
Message ID:
00874330
Views:
57
How do I instruct SQL server to lock a specific record, return the data to VFP, and then cater for transaction management?

Clearly, the data will be returned from SQL in the form of a temporary cursor/table, and therefore I have to explictly return the new values to SQL in the form of a stored procedure. This will be a major irritation as some of these tables have 300-400 fields in them.

Also, does this means that record locking would have to be a manual process, i.e. I'd have to use a flag in the SQL database to say "record locked", and reset the flag when the changes have been written back?

Regards

Derek
Next
Reply
Map
View

Click here to load this message in the networking platform