Importing text file

  • I'm importing a txt file using the import wizard.

    Everything seems fine but when I run it, I get an error on my first date field

    "0x80004005 Description: "Invalid character value for cast specification".

    (SQL Server Import and Export Wizard)"

    Error 0xc020901c: Data Flow Task: There was an error with input column "FLOOD_LOMA_DETERMINATION_DATE" (2681) on input "Destination Input" (1559). The column status returned was: "The value could not be converted because of a potential loss of data.".

    (SQL Server Import and Export Wizard)

    The date format from my txt file is '20090603' (YYYYMMDD)

    Guessing I need to format my date fields somehow?

  • Try converting your dates to MM/DD/CCYY.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply