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

Using name of Flat File in TPT Load - response (7) by sarath@TDDEV

$
0
0

Hi All,
 
I am also in the same situation where I need to load the file name into the table. we are using TPT Version 13.10.00.04.
my source file is a fixed width file. So when define
METACOL1 VARCHAR(40) METADATA(FileName)
 
in the schema definition the script is failing because for File Type "TEXT" every column has to be CHAR or DATE. but when I define the METADATA column as CHAR the script is failing again saying "Metadata type 'FileName' (1) must be data type VARCHAR".
I am not sure how I can solve this problem. Please help.
Thanks
 
 


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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