Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Upgrading our customer's dbc/dbf database
Message
From
02/01/1999 14:15:17
 
 
To
28/12/1998 15:51:19
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00170927
Message ID:
00172174
Views:
31
I had a similar experience when moving data into a modified structure, so I had a rethink and have since used the ALTER TABLE syntax. Works fine.
You need some code that has a look to see if the structure is what you want, if not run the ALTER TABLE stuff.

>When deploying new database structures of applications that are already in use by our customers, we want to upgrade the dbc and the accompaning dbf structures, without erasing their live data.
>
>We tried to by making an empty copy of our own developer's database, moving the customer's data in a backup dir, placing our empty (new) one in the data directory and with an "append from" statement to add the live data into the new structure (added fields will then be left blank; that's not a problem).
>
>The problem is that during the data-import the stored procedures are triggered and cause multiple errors, ending in a complete mess....
>
>We're eager to hear other people's experiences and possible third-party products that make it possible to 'weave' an old (data-carrying) database with a new (empty) one.
Previous
Reply
Map
View

Click here to load this message in the networking platform