DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: SQL*LOADER issue

Threaded View

  1. #2
    Join Date
    Oct 2003
    Posts
    38
    Try this -
    OPTIONS (BINDSIZE=1024000)
    LOAD DATA
    INFILE * -----> specify the textfile along with path
    INTO TABLE air_miles
    REPLACE
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    (
    Col1 number(10) nullif col1=blanks,---->specify the datatypes for all columns along with width you have created the table.
    col2 char(20) nullif col2=blanks,
    col3 date(14) "MMDDYYYY" nullif col3=blanks
    )
    NOTE: Do not specify nullif (columnname)=blanks if the column is primary or foreign or not null columns.
    Let me know if this helps.
    Last edited by prince_jr; 10-13-2003 at 01:36 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width