Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Excel to sql server data transfer

Author  Topic 

akanodia98
Starting Member

6 Posts

Posted - 2006-05-11 : 16:12:33
Hello,

I am new to SQL server world.
I have a task to transfer data from excel sheet(s) to sql server.
I read I could do that using DTS.

But the problem is I have more than 1 excel files and in my table I need to get records from both the files with out duplication the data.
ex: one excel sheet conatins field 1,2,3
second sheet contains field 1,4,5,6 (now I should put data in the sql table as 1,2,3,4,5,6)

I will have to continue to do add data to this table as I get new excel sheets (the fields will remain same).

Can somebody help me with this?
If you can also give me some references for this it will be very helpful.

Thanks a lot in advance
Nicky

sshelper
Posting Yak Master

216 Posts

Posted - 2006-05-11 : 16:56:04
Here are a few links that discuss how to read and import an Excel file without using DTS.

http://www.sql-server-helper.com/tips/read-import-excel-file-p01.aspx
http://www.sql-server-helper.com/tips/read-import-excel-file-p02.aspx
http://www.sql-server-helper.com/tips/read-import-excel-file-p03.aspx

Hope this helps.

SQL Server Helper
http://www.sql-server-helper.com
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-05-12 : 04:56:12
http://sqlteam.com/forums/topic.asp?TOPIC_ID=53720

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

akanodia98
Starting Member

6 Posts

Posted - 2006-05-25 : 14:24:38
thanks for all the help

Nicky
Go to Top of Page
   

- Advertisement -