Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Test and live databases
Message
From
18/08/1998 16:29:14
 
 
To
18/08/1998 16:19:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00127885
Message ID:
00127890
Views:
40
USE dbc1!table
COPY TO \app\production\data2\table DATABASE \app\production\data2\dbc2 WITH CDX

The keyword DATABASE and the target database are all that are needed. Also can use the NAME keyword after DATABASE to give it the long database name if different.

One note. Primary keys will be copied as candidate and have to be manually reset in the new database.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform