Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Locking of records in SQL
Message
De
29/11/2006 02:29:53
 
 
À
28/11/2006 23:11:28
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01172552
Message ID:
01173142
Vues:
17
>Amilcar,
>So there's not "locking" mechanism inherent within SQL Server?
>Yau

No! In the SQL server "world" the word "record" does not even exist, everything is "set based", meaning that if you want to refer to a "record", you must specify this "record" by some specific value. This specific value may be field values, like "where cust_no=100" or it may be PK related, like "where PK='123456123'. This specific value must be unique if you want call only one "record". The PK solution, where the PK value itself is automatically generated and has absolutely no reference to the "record" as such, is the preferred solution, and according to many SQL gurus it's the only solution.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform