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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Updating a database

Status
Not open for further replies.

Bertramp

Technical User
Dec 12, 2006
11
GB
What is the best practice for updating the production database e of the website - I mean for instance if the website database needs to be truncated completely and fresh records inserted regularly - how is this achieved without affecting the uptime

Bert
 
Truncate = no records exist. That's a definite performance-killer.

Instead of truncating, you should do a CRUD routine that inspects the table for records that need to be deleted, added, and updated, and makes the necessary updates. If you have a file-based data system like Access, put a secondary MDB out there with the new data, and run the CRUD routine on the production MDB.



Phil Hegedusich
Senior Programmer/Analyst
IIMAK
-----------
I'll have the roast duck with the mango salsa.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top