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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I load a straight bar (|) delimited file into a table?

Status
Not open for further replies.

tbtcust

Programmer
Oct 26, 2004
214
US
Hi all.

How can I load a straight bar (|) delimited file into a table?

Below is what I have so far. Thanks in advance for any help.


db2 load from MyFile.dat of del replace into tbl_A (col_1, col_2, col_4)
 
db2 "load from MyFile.dat of del modified by coldel| replace into tbl_A"

The (") are needed because this my OS is w2k and it's doing somting to the |.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top