Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copying from one database to another
Message
De
16/09/2003 21:25:09
Jordan Pastourel
Worksafe Management Systems
Toowong, Australie
 
 
À
16/09/2003 21:17:12
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00829703
Message ID:
00829708
Vues:
14
>>Hi all,
>>what i am trying to do is copy the data from one database to another. what i do is work out if one has the same table as the other, and if it does i then copy the information from the corresponding fields into the new database.
>>my issue is, when you append blank in the new database and issue the replace statement, how do you specify from which database it comes from?
>>
>>thanks,
>>Jordan
>
>Can't you just use APPEND FROM to copy the entire table in one command? As to the origin, I think you can specify the full path.

i can't just APPEND FROM as there might be extra fields in either of the tables. i am copying just the fields that are similar to both.
can i use the DATABASENAME!tablename.fieldname syntax in the replace statement?
Jordan Pastourel
Development Manager
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform