I have a varchar
column, set as varchar(255)
, but i cannot query using an =
operator.
I know there is data in this set where the field (UOM) = 'PK'
, but when i query this i get no results. If i query UOM LIKE '%PK%'
, i get results, but not using a straight equal operator. I have tried changing the datatype to nvarchar
, and also tried seeing if there were spaces in the columns throwing it off, but no luck.
Has anyone run into anything like this, and how did you solve? Could the column be corrupted?