Hi All,
The collation level on tempdb and the user database is different. So to avoid the collation error issue I changed the code of SP where it creates the #table with the text field to 'default collation' and that resolved the issue.
But some of the SP does not have create #table. They use the following statement where the table is created automatically in tempdb database with the text columns. I can not change the collation level to deafult DB here they do not use Create table syntax. When I deploy this SP I get the collation error.
select col1, col2
into #Temptable
from table1
Can anyone tell me how to resolve this issue?
Thanks in advance
-techiPA
The collation level on tempdb and the user database is different. So to avoid the collation error issue I changed the code of SP where it creates the #table with the text field to 'default collation' and that resolved the issue.
But some of the SP does not have create #table. They use the following statement where the table is created automatically in tempdb database with the text columns. I can not change the collation level to deafult DB here they do not use Create table syntax. When I deploy this SP I get the collation error.
select col1, col2
into #Temptable
from table1
Can anyone tell me how to resolve this issue?
Thanks in advance
-techiPA