Temp Table collation conflict - Error : Cannot resolve the collation conflict between Latin1* and SQL_Latin1*

后端 未结 4 2070
一整个雨季
一整个雨季 2021-02-02 09:20

I can\'t update temp table. This is my query

CREATE TABLE #temp_po(IndentID INT, OIndentDetailID INT, OD1 VARCHAR(50), OD2 VARCHAR(50), 
        OD3 VARCHAR(50),         


        
4条回答
  •  别那么骄傲
    2021-02-02 09:31

    By default temp table take the collation of server. So instead updating all stored procedure with temp table change only server collation.

    Check this link for Set or Change the Server Collation

    This worked for me.

提交回复
热议问题