I have a table (t) with a column (c) defined as varchar 20, containing the values 'a', 'b' and 'c'
If I execute the following sql, a value is returned:
select * from table where c = 'a '
Why?
I assume it's casting/trimming the parameter in some way, but why?
How would I really search for 'a '