Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying from one database to another
Message
From
16/09/2003 21:25:09
Jordan Pastourel
Worksafe Management Systems
Toowong, Australia
 
 
To
16/09/2003 21:17:12
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00829703
Message ID:
00829708
Views:
13
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform