dbTalk Databases Forums  

Importing Excel files to SQL

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Importing Excel files to SQL in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
pomarina
 
Posts: n/a

Default Importing Excel files to SQL - 12-28-2005 , 02:32 PM






Hi everybody,
I have 1 to n Excel spreadsheets I need to load to SQL tables. Excel
files names are table names in database and Excel column names are
table columns. I need to check if table exists in db, rename existing
one to name_bak, create a new table and insert data into it from Excel.
I have to do it for all files in a specified directory. Does anybody
have an example of creating dynamic mapping of Excel to the dynamically
created destination table? Any help is greatly appreciated.


Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Importing Excel files to SQL - 01-03-2006 , 04:21 PM






Hello pomarina,

I am reading this list of posts the wrong way around and saw this post after
I saw the other post. Same still applies though ping me if you want a look
at something I built.

Allan


Quote:
Hi everybody,
I have 1 to n Excel spreadsheets I need to load to SQL tables. Excel
files names are table names in database and Excel column names are
table columns. I need to check if table exists in db, rename existing
one to name_bak, create a new table and insert data into it from
Excel.
I have to do it for all files in a specified directory. Does anybody
have an example of creating dynamic mapping of Excel to the
dynamically
created destination table? Any help is greatly appreciated.




Reply With Quote
  #3  
Old   
daniel callahan
 
Posts: n/a

Default Re: Importing Excel files to SQL - 02-23-2006 , 09:36 PM



Allan i am interested in what you have pertaining to reading data from an
excel spreadsheet into a sql table

Thanks,
danny

Reply With Quote
  #4  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Importing Excel files to SQL - 02-25-2006 , 02:15 PM



Hello Daniel,

In what way? Are you referring to the issues that Todd and I were working
through?

Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

Quote:
Allan i am interested in what you have pertaining to reading data from
an excel spreadsheet into a sql table

Thanks,
danny



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.