Special Character in SQL

后端 未结 5 954
礼貌的吻别
礼貌的吻别 2020-12-07 01:57

I have a problem with a special character inserted in a table of SQL Server 2008 R2. The point is that when i\'m trying to insert a string with the character º (e.g. 3 ELBO

5条回答
  •  情书的邮戳
    2020-12-07 02:36

    select top 10 * from table_name 
    where tbl_colmn like N'%'+  NCHAR(65533) + N'%'
    

    the function NCHAR(65533) will return the character your're looking for.

提交回复
热议问题