-1
我有下面的代碼和我收到以下錯誤:排序規則衝突的非加入T-SQL代碼
Msg 468, Level 16, State 9, Line 37
Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Latin1_General_CI_AS_KS_WS" in the equal to operation.
我應該怎麼做才能解決這個問題?我在網上找到的所有東西都與連接的表格有關。
IF OBJECT_ID('SeanVault.dbo.TempVarIDs', 'U') IS NOT NULL
DROP TABLE SeanVault.dbo.TempVarIDs;
Select VariableID, VariableName
INTO SeanVault.dbo.TempVarIDs
from Variable
Where VariableName in (select VariableName from SeanVault.dbo.TempVarNames)
'如果VARIABLENAME中(選擇SeanVault.dbo.TempVarNames VARIABLENAME)COLLATE SQL_Latin1_General_CP1_CI_AS' – Lamak
@Lamak爲什麼這是一個評論,而不是答案嗎? – iamdave
@iamdave因爲代碼只有答案不是一個好答案......而且我有點累,所以我不想寫出什麼才能使它成爲一個好答案 – Lamak