473,385 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Importing table to replace existing table

There is a table on a server from which I copied into my local
database. I don't want to update this table locally, I want it to be
controlled by the table that is on the server on a different database.
Linking is not an option as it is 2000 miles away and the connection is
not very fast. I would prefer to copy that table weekly into my local
database. Note these databases serve different functions.

Is there a way I can easily replace the old table with the updated
table without messing up the structure of my database (ie.
relationships).

TIA

Nov 14 '05 #1
2 10501
Ted
Tia:
I would play it safe and add an extra step. First I would append the
existing data from the table into another table (so that I could
retrieve it if I needed to).
Then I would run a delete query to remove all of the records in the
table and then import the new data into the table.
One thing I would add while appending the old data to the other table
is to add a date field of when the data was appended. This would help
me to retrieve the records appended on a particular data and to help
remove records that have reached a certain age, such as six to twelve
months old.
I hope that helps.
Ted

Nov 14 '05 #2
Thanks, that works.

Nov 14 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Kamilche | last post by:
I have a large project that is getting complex, and I would like to print the docstrings without importing the modules. The only Python utility I could find references is apparently defunct and...
11
by: Skc | last post by:
I have a .txt which has been exported as a .csv from an external source. What i need to do is to import this into SQL2000 (into a table) but I need to do special things on the data: 1. I need to...
2
by: Debbie CD UK | last post by:
I have a large amount of log files from an electronic contro tester that I need to import in to an Access database Unfortunately, they are not comma delimited or fixed with but different fields...
1
by: G | last post by:
I have an excel document that has a field called Account Number. I have an equivalent field in an Access database. When i import the field info from the excel sheet to access, only some of the...
2
by: kuhni | last post by:
Hi everybody, I am totally desperate because I cannot solve a really simple problem: I have a specific text-file which I want to import into an existing database. The problem is that the columns...
5
by: dixie | last post by:
If I sent a user an empty database container - dB with no tables and I needed them to import their tables into it and one of their tables was a hidden table with the prefix Usys, is there any way...
2
by: bsmith1111 | last post by:
Before I start- Office Xp and only basic knowledge of Access. Here's what I'm trying to do: I've got an Excel file with four columns: Name Description Place Misc I import this file to a...
3
by: beat1078 | last post by:
I have a database that has a form added for the users to import updates from another database without me having to do it manually. It looks for a DBASE IV file that is placed in a shared directory...
1
by: puremetal33 | last post by:
I have worked very little with Access and have hit a snag. My task right now is to import the data from a spreadsheet into an existing table in an Access database. I edited the .xls file so that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.