Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Insert vs Append Blank
Message
De
17/12/2009 10:33:10
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
17/12/2009 08:50:24
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01439559
Message ID:
01439580
Vues:
74
>Does INSERT INTO use the same header locking techniques that APPEND BLANK does? Do I have to lock the file to make sure INSERT INTO works correctly.
>
>Thanks,
>
>Jerry

Both lock the table header for the duration of the command. Therefore Insert into is safe but Append blank is not (insert into have field values in it as part of the command, while with append blank as soon as the command ends, your lock is released - in that small gap before you start replacing any value someone else might get a lock and update that record).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform