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

Thread: sqlloader issue

  1. #1
    Join Date
    May 2001
    Posts
    31

    sqlloader issue

    Hello

    Iam trying to load records using sqlloader which have bad date format, due to which the records are going into the bad file, how can I load these bad record date as NULL values

    I appreciate any help in this matter

    Any work around using sqlloader?

    Thanks,
    sanga

  2. #2
    Join Date
    Dec 1999
    Location
    Purgatory
    Posts
    346
    LOAD DATA
    INFILE 'z:\MORTGAGE_ACCOUNT.dat'
    TRUNCATE INTO TABLE NEWMORTGAGE_ACCOUNT
    MA_CMPL_DATE POSITION(357:364) DATE(8) "YYYYMMDD" NULLIF MA_CMPL_DATE = "insert bad date format"

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