I have a lot of CASE WHEN statements in my queries that I often use in other queries.

Is there a way to store these CASE WHEN statements so that I can recall them whenever needed? Or, do these have to be written out every time?

Thanks!