dbTalk Databases Forums  

Excel file, scrubbing name

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


Discuss Excel file, scrubbing name in the microsoft.public.sqlserver.dts forum.



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

Default Excel file, scrubbing name - 10-12-2004 , 02:15 PM






In an Excel file I have name in this format (Jones, Shawn)
as one field. How can I export the data into two fields
(firstname, lastname) opposed to one field?



Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Excel file, scrubbing name - 10-13-2004 , 05:48 AM






Use a DataPump to pull data from the Excel file and use an ActiveX Script
Transform to split the field. You can use either the Mid or Split VBScript
functions to actually do the splitting.


--
Darren Green
http://www.sqldts.com
"Shawn" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
In an Excel file I have name in this format (Jones, Shawn)
as one field. How can I export the data into two fields
(firstname, lastname) opposed to one field?





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.