Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How to import several excel files using one dts package

 
   Database Forums (Home) -> General Discussions RSS
Next:  Can't start the SQLAGENT  
Author Message
mednyk

External


Since: May 09, 2006
Posts: 10



(Msg. 1) Posted: Wed May 10, 2006 1:38 pm
Post subject: How to import several excel files using one dts package
Archived from groups: comp>databases>ms-sqlserver (more info?)

It's very simple import, without any data modifications; from several
excel files to one table.
I tried the wisard and it gives me selection for only one file.
I am not used to create DTS packages and schedule jobs, so I would need
some help.

Thank you
Inna

 >> Stay informed about: How to import several excel files using one dts package 
Back to top
Login to vote
nate.vu

External


Since: Apr 26, 2006
Posts: 23



(Msg. 2) Posted: Thu May 11, 2006 2:52 am
Post subject: Re: How to import several excel files using one dts package [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Inna,

Perhaps this article will be of help:
http://www.devx.com/getHelpOn/10MinuteSolution/18088

The article at the link above shows how to import Excel data into SQL
Server from an indeterminate number of Excel workbooks.

If the # of Excel files you have is small, you can do the following in
the DTS Designer:

1) Drag 1 Excel connection object per file into the DTS "canvas" (the
main area of the DTS Designer) and define the connections as
appropriate

2) Drag a connection object for your SQL Server and define it as
appropriate. One thing to note is that you should set the DB to connect
to the same as the DB you want to import the data into

3) Define a "Transform Data Task" (see your Tasks menu in the DTS
Designer) between each Excel connection and the SQL Server connection.

4) A line will appear between each Excel connection and the SQL Server
connection. Right click on each line and select "Properties" from the
menu that appears. Alter the properties of the task (e.g. column
mappings) as appropriate.

5) Execute the task

Hope that helps a bit.

 >> Stay informed about: How to import several excel files using one dts package 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
importing multiple excel files - Hi I have multiple excel files of the same format in a directory. They are called book1.xls, book2.xls, book3.xls and so on. What is the easiest way to import the tab named sheet1 from each of the excel files to a databse using SQL server 2000 enterpris...

DTS-Package sends mail and files before the job finishes - I have a package which truncates files, fills them with data and should send a mail with the files as attachment when it finishes running. In between, when the task is still running mail is sent with empty files. When I take a look at the directory (at..

problem creating DTS package - Hi, I am trying to create a DTS package wherein the data from the sql server is transfered to a text file. I am using the Transform Data Task to transfer the data.In Transform Data task properties, I build the query and able to preview the data but..

SSIS Import - In MS Excel, the ability exists to run a "web query." This function is accessed via the data menu's import external data option. The web query wizard accepts a URL address, and then is able to import the data from that address into an excel w...

Import from MSSQL2000 (8) to 7? - Hi Group, I developed a intranet site using MSSQL7/win2000 some time ago. The target environment used MSSQL2000/8. We were (almost painlessly) able to import the db-scheme and data from 7 to 8. (Bravo MSSQL) Now I need to do some upgrading on the..
   Database Forums (Home) -> General Discussions All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]