I will need to say that this sounds dubious. Something called ID which is a float? Float is good for scientific values can have very high or low ranges, but it is an approximate number, so it is not good for an id:
And comparing that to a varchar(500). As Viorel says, this will be problematic.
I think you need to go back and review the database design. I have a feeling that you went wrong at some point earlier before you came to this brick wall.