Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Trim Leading Spaces and Loading Blanks for Number fields
I am trying to load in a column that is defined as a number in the
table. In the dat file the field is coming in with leading spaces or
blanks. The error message I get when trying to load in the blanks or
leading spaces with value is "invalid number". how can I satisfy the
two conditions. I tried doing this:
FIELD_A NULLIF FIELD_A=BLANKS "LTRIM(:FIELD_A)" Received on Tue Jul 08 2003 - 19:15:15 CDT