openrowset excel - Cannot resolve collation conflict for equal to operation.

  • Hi

    I am trying to join the contents of an openrowset query against and excel spreadsheet with a SQL Server table and am receiving the message

    "Cannot resolve collation conflict for equal to operation."

    I'd normally associate this with two databases with different collations.  Why does this happen with trying to join a Microsoft Excel spreadsheet

    Cheers

     

     

     

     

  • Posting the query would be useful.

    But general suggestion - apply COLLATE inside equation:

    WHERE SomeCal COLLATE ... = AnotherVal COLLATE ...

    _____________
    Code for TallyGenerator

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

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