Cannot resolve collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Latin1_General_CI_AS" error
These kind of errors are often thrown in sql. Today i am going to tell you ,how to resolve this error.
Example:
select e.employeeName COLLATE DATABASE_DEFAULT from employee
- At first we should identify which column creates this issue.
- Next we have to add "COLLATE DATABASE_DEFAULT" this keyword next to the column.
- Now you won't have this error.
Example:
select e.employeeName COLLATE DATABASE_DEFAULT from employee
Comments
Post a Comment