I have a string column of type NVARCHAR in my table that stores Arabic text contains Arabic letters such as: جهاز ٦٠ للخدمة
The problem is that I cannot retrieve this piece of data when I search for it
declare @textdesc as nvarchar(70) = 'جهاز ٦٠ للخدمة'
Select *
from table1 t1 left join table2 t2
on t1.prmkey = t2.frgnkey
where t1.text LIKE '%'+@textdesc+'%'
But when I search by any other field other than @textdesc, it converts the Arabic numbers into English numbers to be
جهاز 60 للخدمة
in the search results. I don't get the text that is stored in the database with the Arabic numbers. I don't know why this happens. Can you help me figure this out?
I tried to search by
where @textdesc LIKE N'%' +@textdesc + '%'
and it doesn't work either.
My database collation is Arabic_CI_AS