I am a complete newbie in SQL Server 2000, and I would like to start by putting my applications Access mdb in adp by using SQL 2000. My first exercise was to import a .txt file in SQL. This text file is updated every day. I would like to know how to update my table most effectively: is it necessary to remove all the recordings with TRUNCATE and to import the new ones, or are there a series of orders which enable me to make an update of the changed recordings and to add the new ones? My question will undoubtedly seem you very simple.... be lenient: I debute.

Unfortunately, you would have to dump the entire table and then reimport the data. Since you are maintaining a...

By submitting my Email address I confirm that I have read and accepted the Terms of Use and Declaration of Consent.

By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.

You also agree that your personal information may be transferred and processed in the United States, and that you have read and agree to the Terms of Use and the Privacy Policy.

text file, it doesn't have any capability to log the changes that were made so that you could apply just those changes. The easiest way would be to just truncate your table in SQL Server and then use BCP to reimport your text file.

0 comments

Register

Login

Forgot your password?

Your password has been sent to:

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy