UDT Query tag not behaving as expected

I’ve got the following UDT:

I get the following error in my instance: Error_ExpressionEval("Unknown column 'Winnipeg' in 'where clause'")

But if I use

SELECT id FROM sites WHERE name = "Winnipeg"

I get the right value.

Wrap the tag in quotes?

In single quotes.... Double quotes for string constants are only supported for MariaDB and friends, and only when not in standards-compliant mode.

1 Like

That did the trick thank you!