You can try two methods: 1. As chatGPT wrote - change collation for Polish_CI_AI 2. Add 'N' letter before tour value - change collation too - " AND d.{DCNCOL:1132} = N'{3205}' "