SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 txt file(separatot tab) to tabe
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

nord
Yak Posting Veteran

66 Posts

Posted - 03/28/2012 :  00:40:42  Show Profile  Reply with Quote
Hi,everyone
I have ssis: txt file to table and txt file from the customer have separator "tab",how i can replace 'tab' to ';'
thanks

rajarajan
Starting Member

India
48 Posts

Posted - 03/28/2012 :  01:02:48  Show Profile  Reply with Quote
http://www.sql-server-performance.com/2007/import-text-files-ssis/1
Go to Top of Page

yosiasz
Flowing Fount of Yak Knowledge

USA
1608 Posts

Posted - 03/28/2012 :  14:09:12  Show Profile  Click to see yosiasz's MSN Messenger address  Reply with Quote
what if ; is in the actual text

 Nord;{tab}Norford{tab}SSSIS;BI;Apache;Hadoop{tab}


Houston we got a problem

<><><><><><><><><><><><><><><><><>
If you don't have the passion to help people, you have no passion

Edited by - yosiasz on 03/28/2012 14:09:23
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
47157 Posts

Posted - 03/28/2012 :  14:43:04  Show Profile  Reply with Quote
quote:
Originally posted by nord

Hi,everyone
I have ssis: txt file to table and txt file from the customer have separator "tab",how i can replace 'tab' to ';'
thanks



you mean replace the entire delimiter inside text file?
whats the need of that?
if delimiter is consistent you can configure text file connection manager to use tab as delimiter itself

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

nord
Yak Posting Veteran

66 Posts

Posted - 03/29/2012 :  09:18:00  Show Profile  Reply with Quote
Hi,
I mean have txt.file one time with delimiter=tab,second=; and i need insert informations into table(ssis),with delimiter=; i don't have problem but wit 'tab' yes ,what i can do with this?
Thanks
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
47157 Posts

Posted - 03/29/2012 :  12:42:43  Show Profile  Reply with Quote
why is delimiter varying?
any etl tool wont be able to dynamically change connection properties to vary delimiter format
is there a way to make it fixed length instead at least?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000