View Single Post

   
  #1 (permalink)  
Old 02-28-2008, 09:02 PM
Dave Stone
 
Posts: n/a
Default Text file import with DTS

Does anyone know if it's possible to use the wizard or DTS Designer to
accept a source file with the following simplified format:

<field1label>: <record1field1value>
<field2label>: <record1field2value>
- - - - - - -
<fieldNlabel>: <record1fieldNvalue>

<field1label>: <record2field1value>
<field2label>: <record2field2value>
etc.

i.e. each input record is delimited by {LF}{LF}, and each column by {LF}. Or
will it be necessary to write a Perl script (say) to convert it first into a
..csv file?

Thanks,

Dave

--
************************************************** **********************
Dave Stone e-mail: D.Stone@ed.ac.uk
Computing Services Telephone: +44 131-650-3314
University of Edinburgh Internal ext: 503314
Main Library, George Square FAX: 0131-650-3308
Edinburgh EH8 9LJ
************************************************** **********************


Reply With Quote