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

后端 未结 4 2047
一整个雨季
一整个雨季 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:49

    We ran into the same problem right now. Instead of adding the collation to the temp table creation (or to each temp table join), we just changed the temp table creation to a table variable declaration.

提交回复
热议问题