I have a table that contains a varchar(10) column named weird_field. In this column, only integers reside (e.g., 3010101009). When I do this:
Code: Select all
select * from table where weird_field = '3010101009'
However, if I do this:
Code: Select all
select * from table where weird_field = 3010101009
Thanks