Either using shift keys or:
type_a_constant ctrl-[ vawU
That sounds more than it is. Really I just touch type it without thinking consciously about it.Probably don’t even need visual mode that’s just how I work.
I keep a caps lock on my programmable keyboard for this (Fn+K).
I also like SQL to be formatted with capital letters for keywords.