You are here: Re: Pipe delimiter problem « MsSQL Server « IT news, forums, messages
Re: Pipe delimiter problem

Posted by Erland Sommarskog on 03/14/06 00:12

(chudson007@hotmail.com) writes:
> As I've never used PERL i'm trying to import the file to one column in
> SQL using DTS.
> I'm experiencing difficulty here too though....
>
> The header row has a len of 143, and the records below can be much
> longer.
> The ipmort process is cutting the records after 143 characters, meaning
> the whole file is not imported.
> I've tried increasing the number of characters in the transform option
> but it has not worked..

Unfortunately, I don't know DTS, so I can help with that part.

> If you think using your PERL code is the best option, how to I get
> started using PERL?
> i.e. what software do i need to downlaod to drop you script into?

Free download is on http://www.activestate.com/Products/ActivePerl/?mp=1.

Admittedly, Perl has bit of a learning curve, but once you know it, it's
a wonderful language to work with. There's plenty of books on the market.
Since I learnt Perl myself a long time ago, I cannot say which is the
best to start with today. It might be the so-called Lama book, "Learning
Perl" from O'Rielly.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация