Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Loading using Teradata Parallel Transporter Load utility. - response (8) by rolidev

$
0
0
      How to use TPT for loading all the fields of a file(in one line) in a single column of a table I have  multiple files to be loaded into a table using tptload. Scenario is, i have two columns in my table (one is varchar(100) and another is varchar(50000)). In the first column, i want the name of the file to be inserted for all the rows loaded using that file.   In the second column, i want to insert the data present in all the fields of a single row of that file. So, basically "i want the TextDelimiter to be new line character in tptload script." I am not sure of what TextDelimiter to be set here.   Please refer the example below:   First File data (filename abcd.txt)   a#b#c#d e#f j#k#l h   Second file data (filename efgh.txt) j#k#l#m n#d   In table First column Second column abcd.txt      a#b#c#d abcd.txt      e#f abcd.txt      j#k#l abcd.txt      h   efgh.txt      j#k#l#m efgh.txt      n#d   Can anyone provide any solution for this?

Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>