• Two possibilities, I'm sure there are more

    SELECT 1 AS col

    UNION ALL

    SELECT 2

    UNION ALL

    SELECT 3

    SELECT col

    FROM (VALUES (1), (2), (3)) x(col)

    ____________________________________________________

    Deja View - The strange feeling that somewhere, sometime you've optimised this query before

    How to get the best help on a forum

    http://www.sqlservercentral.com/articles/Best+Practices/61537