Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Advise please

Status
Not open for further replies.

newboy18

MIS
Apr 11, 2003
45
GB
I need to make a lot of changes to a live database, can I prepare the updates using a copy of the original and then just import them when convenient, if so how do I deal with changes to the tables?
 
I would do update SQL on a copy of your database database to ensure everything is working correctly. Then when you do your live update you can create a second set of queries to find the ones you didn't update. To do this, save the primary keys of the table in question and then use those as a subselect for your second query. You would do something along the lines of the following:

Select field1, field2 from table1 where primarykey not in (Select primarykey from savedupdatedtable);

Good Luck!



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top