Bulk Insert - codepage

  • Hey there.

    I'm using bulk insert with a format file on SQL Server 2000. All fields in my format file are SQLCHAR.

    When I specify CODEPAGE = 1252 (or 'ACP', 'OEM') in the bulk insert statement I get the following error:

    "Cannot perform bulk insert. Invalid collation name for source column 1 in format file..."

    I get the same error if I omit the codepage clause.

    If I modify the format file and specify a collation for each column of SQL_Latin1_General_CP1_CI_AS then the insert works!!

    My collation serverproperty is SQL_Latin1_General_CP1_CI_AS.

    Help...!?

  • Add a Carriage Return at the end of the format file.

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

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