SELECT CASE [AS CONST] with simple integer temp var, no warnings:
