Closed sigurdhj closed 3 years ago
Exactly the same issue here:
mssql: Cannot resolve the collation conflict between "Norwegian_100_CI_AS_SC_UTF8" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation.
@magne I guess setting the collation in the query would solve this, see https://stackoverflow.com/a/20545527.
This has to be done a couple of places in https://github.com/betr-io/terraform-provider-mssql/blob/master/sql/user.go.
I would suggest setting collate SQL_Latin1_General_CP1_CI_AS
. This would be fairly safe, as I guess the only thing we are comparing are usernames, logins and identifiers.
I'm trying to create a mssql_user resource using Terraform 0.15.0:
Applying this resource results in the following error:
The collations are: