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

Importing Excel data into a MS SQL Database

Status
Not open for further replies.

Sk8te

IS-IT--Management
Mar 25, 2003
2
SG
Hi all,

I need some help here. I am trying to build a small data mart to consolidate too my different database into. What I have is a couple of databases and currently, I can run a script to extract the information I need in an excel file.

What I want to do now is to pump the data into a MS SQL database. I want to store these excel files ina folder and run a schedule to schedule some application (either custom or off the shelf) to pump the data into the data mart. Then move the raw excel file to an old folder.

Also if anyone could advise on how to validate the data have not been pumped in twice....

Thanks for all the help... sorry for asking so much
 
Sounds like a good job for DTS. You can accomplish every one of the events you have listed above within a DTS package.

Thanks

J. Kusch
 
A method we used on a past project was to have a control table that we wrote the File information to File Name, Date it was Processed, Total Number of Records, Records loaded, Records suspended for data issues. Then in the Fact tables we had a column that we keyed back to the Control Table. This was done to both easily detect duplicate data, but also allow either the removal of duplicate data or to back out a specific dataload that may have been recalled do to some data quality issues.



"Shoot Me! Shoot Me NOW!!!"
- Daffy Duck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top