How weird. A dev is trying to query a table using a string literal in a WHERE clause. But no rows are returned.

I suspected a non-printable ASCII character (codes 0 - 31) might be the issue. I copied/pasted the string literal into SSMS.

There's definitely an extra character at the left side of the string. But SQL thinks it's a question mark character, which is ASCII code 63. That's a 'visible' character...but I can't see it in SSMS, a browser, or Notepad.

Ah, I stand corrected. I couldn't see the character in Slack, but I can see it in a Github gist.

Still, I still think that first character should be a '?'...not a mystery red dot.

Haaa! There's more!

The mystery character is only visible while creating/editing the gist. Upon saving, it's no longer visible. Not even when viewing Raw.

It's a silly/dumb mystery, I suppose.

If anyone wants a look, here's the gist link. It's easily reproducible in SSMS.

gist.github.com/BeginTry/61ffb

Sign in to participate in the conversation

CounterSocial is the first Social Network Platform to take a zero-tolerance stance to hostile nations, bot accounts and trolls who are weaponizing OUR social media platforms and freedoms to engage in influence operations against us. And we're here to counter it.