Home Forums SQL Server 2012 SQL Server 2012 - T-SQL Case statement on nvarchar with literal string comparrison to varchar RE: Case statement on nvarchar with literal string comparrison to varchar

  • You can force the literal string to be NVARCHAR by using the N'Somestring' syntax. Try that with the same code.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning