Results 1 to 3 of 3
Jul 28, 2005, 08:39 #1
- Join Date
- Dec 2004
- New Castle, PA
- 0 Post(s)
- 0 Thread(s)
Updating one database to the structure of another.
I have multiple databases I use for testing purposes. My ideal structure is my live DB. I've added new tables and fields, etc to it, but haven't had the need to update some of the test DB's to include these new tables and fields. Is there a function/command that will update a non-empty test database to the structure of another (my live db) without overwriting the existing data?
My live database has a table called 'users', with 'firstName','lastName','password','logInDate','logInTime'
my test database table is identical, minus the 'logInTime' field.
Is there a way to add that field (and all other tables and updates) in one shot without emptying the DB and not using the ALTER TABLE statement?
Thanks in advance!