Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does insert command lock a record
Message
 
À
20/05/2015 12:21:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01620017
Message ID:
01620022
Vues:
79
I wasn't aware that there were different insert commands, I've always used
INSERT INTO CALL_TABLE (fieldPK, fieldCALLNUM, fieldDATE, fieldTIME) ;
	VALUES (my_new_pk, my_callnum, DATE(), TIME())
~M

>Don't use the VFP INSERT command. Use the SQL INSERT command.
>
>>I'm looking at changing all the scatters..., about 7 in total, to inserts. I know that the scatter, append does not lock the file unless you do your own locking. I'm just wondering if the insert automatically does locking, or is it necessary as the record is inserted as opposed to adding a blank record and then populating it.
>>
>>~M
Go raibh maith agat

~M
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform