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
 Exporting Excel sheet to Sql server table

Author  Topic 

appu_aparna123
Starting Member

2 Posts

Posted - 2007-10-24 : 03:15:24

Hi All ,

I am new to Sql Server and all the DBA stuff. My boss wants me to export a folder containing excel sheet data to sql server table . To be more precise , he wants to automate the DTS process where instead of exporting each and individual worksheet to the DB , he wants me to maintain a separate folder of these sheets and export that folder.

Please do lemme know , how do I do this .

Thanks,
Aparna

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2007-10-24 : 03:18:45
Use DTS or SSIS to accomplish this.



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2007-10-24 : 04:39:47
or
http://sqlteam.com/forums/topic.asp?TOPIC_ID=49926

Madhivanan

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

appu_aparna123
Starting Member

2 Posts

Posted - 2007-10-24 : 12:36:29

Thanks for replying back.

But how to I DTS a folder of excel sheets instead of single .xls file each time. ?








quote:
Originally posted by madhivanan

or
http://sqlteam.com/forums/topic.asp?TOPIC_ID=49926

Madhivanan

Failing to plan is Planning to fail

Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2007-10-25 : 01:56:57
quote:
Originally posted by appu_aparna123


Thanks for replying back.

But how to I DTS a folder of excel sheets instead of single .xls file each time. ?








quote:
Originally posted by madhivanan

or
http://sqlteam.com/forums/topic.asp?TOPIC_ID=49926

Madhivanan

Failing to plan is Planning to fail




I think you need to get all files and then execute it for each file
See if you can get some ideas here
www.sqldts.com

Madhivanan

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

- Advertisement -