Welcome to 2PTTechnology Sign in | Join
in Search

Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CS_AS" and "SQL_Latin1_General_CP1_CI_AS"

Last post 10-28-2008, 10:16 AM by twaligora. 0 replies.
Sort Posts: Previous Next
  •  10-28-2008, 10:16 AM 192

    Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CS_AS" and "SQL_Latin1_General_CP1_CI_AS"

    I declared a temporary table

     

    declare @TempMyPeriods table (Prod  varchar(50) NOT NULL)

     

    and when I try to extract the data into a different table I get the error

     

    Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CS_AS" and "SQL_Latin1_General_CP1_CI_AS"

     

    The issue was that the temp tables Prod column by defautl is set up as “SQL_Latin1_General_CP1_CS_AS”

     

    So the Fix:

     

    declare @TempMyPeriods table (Prod  varchar(50) collate SQL_Latin1_General_CP1_CI_AS NOT NULL)

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems