Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File Locks with Insert-SQL
Message
De
03/04/1999 00:50:18
 
 
À
02/04/1999 17:07:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00204816
Message ID:
00204890
Vues:
24
>Has anyone had any problems with file locking or file in use by another when using INSERT INTO. I have been getting this in a dos 2.6 app. Any Ideas
>

Any time you issue a command that adds a record to a table, the header of that table is locked for a short time while VFP updates the record count in the header. This should generally not be a problem, especially with SQL INSERT because the amount of time that the header is locked is very small. Are you getting the error when you use the INSERT, or is the SQL INSERT causing the error in other processes?

Things to watch for:

REPLACE FOR/ALL
DELETE FOR/ALL

these commands lock the table header for the duration of their execution, which can often cause contention.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform