I am using contains command of SQL Server to search a column named text(nvarchar(max))
, the query returns a row where the text value having no word starting with "06", while it does have the word "06" in the middle of words. how it comes? the query is like this
select * from NCaseWildSearch where Contains(TEXT, '"06*" or "06"')
the value is something like this
<_C153_>1067</_C153_><_C154_>100010</_C154_><_C156_>5</_C156_><_C157_>INV-20210617-120</_C157_><_C162_>Jun 17 2021 2:46PM</_C162_><_C165_>Jul 26 2021 1:21PM</_C165_>
I didn't see any word start with "06", there is 20210617, but the "06" positioning in the middle; there do have a word begin with Jun, does the contains command recognize it as "06"? really have no idea of it. anyone can give me some tips? thanks