G
Guest
I pull data off "another" database & dump it into MY database. The main
table in MY db contains a list of courses, times, instructors, etc. When I
pull the data off the "other" db, it contains all current course information,
like times, rooms, instructors, etc. So I have created an update query that
updates all this information in MY db. So if an instructor is changed in the
"other" db, it is changed in MY db also. This all works fine. The problem
is that the "other" db is missing courses that have been cancelled. Those
courses are on MY database because I don't know they have been cancelled
until I do this dump. However, when I run the update query, the cancelled
courses don't get deleted from MY db. I don't want to clear the table first
because there are courses in there that are manually added & I don't want to
have to re-enter all that data. Is there a way to have the update query also
delete courses from MY table that are not on the "other" db table?
table in MY db contains a list of courses, times, instructors, etc. When I
pull the data off the "other" db, it contains all current course information,
like times, rooms, instructors, etc. So I have created an update query that
updates all this information in MY db. So if an instructor is changed in the
"other" db, it is changed in MY db also. This all works fine. The problem
is that the "other" db is missing courses that have been cancelled. Those
courses are on MY database because I don't know they have been cancelled
until I do this dump. However, when I run the update query, the cancelled
courses don't get deleted from MY db. I don't want to clear the table first
because there are courses in there that are manually added & I don't want to
have to re-enter all that data. Is there a way to have the update query also
delete courses from MY table that are not on the "other" db table?