dbTalk Databases Forums  

Importing xls with changing worksheet name

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


Discuss Importing xls with changing worksheet name in the microsoft.public.sqlserver.dts forum.



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

Default Importing xls with changing worksheet name - 08-24-2005 , 03:30 PM






During the transformation, can we use a wildcard for the from clause?

Example:
Worksheet name could be sheet1$ or sheet50$

SELECT [Num], [Server], [PNum]
FROM ['Sheet1$']
WHERE ([Server] IS NOT NULL)

FROM like ['Sheet%$']

or can I get the worksheet name with out having to install excel on our
SQL processing server?

Thanks


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.