Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
INSERT-SQL
Message
De
14/08/1997 19:52:02
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00044588
Message ID:
00044814
Vues:
36
>>Is it faster to use insert-sql to copy records from one table to another? If so, how do you use insert to move multiple records?
>>
>>Thanks in Advance,
>>
>>Bill Chadbourne
>>wchad@ime.net
>
>I do not know if it is faster or not but the VFP SQL would be
>
>Insert into Mytable from ArrayName
>
>So all records have to be copied from the source table to an array first then inserted into the target table. I forget which one only locks file header versus locking the entire file (shared file use), either inserting records or appending from.
The file has to be locked with both insert and append, because the record counter is in the header. Also, I believe that insert is supposed to be much faster.
L.A.Long
ProgRes
lalong1@charter.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform