Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is the a sql command to append data?
Message
De
06/04/2002 08:50:02
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00641701
Message ID:
00641782
Vues:
10
>is there a sql command to append records from table A into table B?

Unfortunately VFP SQL is not as rich as SQL server's. First you would do a select into a cursor then an append from. When using append from be carefull to use dbf('cursorname').ie:

select ... from tableA into cursor myCursor nofilter
select TableB
append from dbf('myCursor')

BUT actually not using an SQL is a more direct way. ie :

select TableB
append from TableA for < Your expression here - SQL where part >

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