Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lock in SQL SERVER.
Message
From
30/03/2004 10:45:20
 
 
To
29/03/2004 15:26:30
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00890575
Message ID:
00890811
Views:
21
Read Thread #874330 Message #874739 and others

SQL use Sets, not flat tables.

If you not define a Index you do not have control for lock a specific row.

If you want pessimistic Lock, you must define good indexes,
and on WHERE clause lock specific index keys.

On simple case, define a primary key, and on WHERE lock a specific PK value.
With this and lock keys range you can lock PK that not exists
( useful in order to reserve of the values )

Fabio
Previous
Reply
Map
View

Click here to load this message in the networking platform