Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server DTS
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
SQL Server DTS Discussion specific to Data Transformation Service with SQL Server. General SQL Server discussions should use the general SQL Server forum. Readers of the book Professional SQL Server 2000 DTS with questions specific to that book should post in that book forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server DTS section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 10th, 2007, 08:54 PM
Authorized User
 
Join Date: Jun 2007
Location: , , .
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Import From excel with n sheets

Hi,

I am looking to import data from excel.
Problem is that the excel can have N number of sheets and i won't know the name of the sheet.

So every time i import the data i need to dynamically create a table with that of the name of the sheet and import data from each sheet to the corresponding table.

any solutions please.

Thanks in advance.


  #2 (permalink)  
Old September 11th, 2007, 07:51 AM
Registered User
 
Join Date: Jul 2007
Location: Las Vegas, NV, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I can't think of any way to do this. I know this is not what you wanted to see. :D

Since you posted in the DTS forum, I'm figuring you want to have this process automatically scheduled. The only solution I can come up with is to have all of the information from the worksheets in Excel copy to another worksheet and then copy that to your SQL table.

I'm going to see if I can get an example for you - its been awhile since I have done this.





 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Comparing two excel sheets nbkn8ct Excel VBA 5 August 28th, 2009 05:20 PM
Working with excel sheets ramsri VB How-To 1 October 25th, 2007 03:15 PM
Exporting Table to Excel Sheets ayazhoda Access VBA 11 April 5th, 2007 07:25 AM
How to read values from excel sheets gurusamy.senthil Beginning VB 6 0 May 8th, 2006 07:11 AM
MX2004 Can't Import Excel Sheets koolkat67 Dreamweaver (all versions) 0 February 17th, 2006 06:00 PM



All times are GMT -4. The time now is 08:19 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.