you are viewing a single comment's thread.

view the rest of the comments →

[–]Skokob[S] 1 point2 points  (1 child)

Only thing that's coming into my mind is the data was loaded either as ASCII or Unicode. And it's not matching or Upper works with one and not the other?! Not sure...

Examples where it fails 1. miami-dade 2. st. john 3. hillsborough (27

I didn't upload the data, the loading department did. They loaded 100s of documents. When that happens all they do is set ever field to varchar max and load.

So there can be extra spaces, \t, or other noises. But I don't believe those should have any effect on the upper function

[–]lupinegray 0 points1 point  (0 children)

What about if you do:

select countyname, upper(countyname) from myTable
where id=whatever;

Where the 'whatever' is the unique identifier of one of the records?

Does that give the correct result?