ASP/DB Concern Help!!
I need some suggestions. I'm new to asp database programming. I have an asp page that will upload a text file to the server and replace the current data in an Access table with data from the text file. I'm using DNS-less connection. This won't be a busy site. There will be approx. 400-600 records.
1. What is the best method/order of doing this. For example, should I delete all records from the table and then just insert all the new ones? -or- Create a temp table with new data (because adding the new data to the db will be the longest operation), delete the old table, then rename the temp table? etc?
2. Should I be concerned about any connections that may be present on the database before I delete/change the database? Will I get an error when deleting/updating if someone is connected to it?
|