SSTS Blog
Some news and tidbits that we share
I was working today and trying to load some data from a new vendor. Several of the columns were declared as varchar2(4000) yet when sqlldr ran I was seeing the error "field in datafile exceeds maximum length". My first thought was that I may have a filed with more than 4000 characters. But, after examining one of the problem data lines I knew that was not the case. After a quick search I found that sqlldr defaults string lengths to 255 character unless specified otherwise in the control file. I had come across this before but had forgotten since the vast majority of data that I deal with doesn't run into this restriction. To resolve the issue I declared the long string columns as CHAR(4000) in the control file.
Trackbacks
-
Colene Thoe
by Colene Thoe on Tuesday, 30 November 1999SQLLDR - reminder for string columns with more than 255 characters - SSTS Blog ... -
adipex
by adipex on Tuesday, 30 November 1999SQLLDR - reminder for string columns with more than 255 characters - SSTS Blog ... -
help me learn spanish jakarta
by help me learn spanish jakarta on Tuesday, 30 November 1999SQLLDR - reminder for string columns with more than 255 characters - SSTS Blog ... -
how to draw people
by how to draw people on Tuesday, 30 November 1999SQLLDR - reminder for string columns with more than 255 characters - SSTS Blog ...
