Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

load teradata from delimited file

Status
Not open for further replies.

ppbbcp

Programmer
May 10, 2008
5
US
I am loading a teradtata table, using varchar, with a delimited flat file (300 columns, 11 mil rows). The data is delimited with a quoted pipe. "|". an example of some of the rows.

"id1 "|"name1"|"payrate1"|"..."|"col300"
.
.
.
"id-n "|"name-n "|"payrateN "|"..."|"col300 "

The data is unreliable, the column lengths are not constant, and there is no description. The data is all character, but some columns need to be converted to date, or decimal. I can load it using varchar, as character, with all the column data enclosed in quotes...
example..

"123" "john doe" "100.00"..."xyz"

any ideas as to how to set up the delimiter to read the data?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top