• It doesn't work -

    Msg 102, Level 15, State 1, Line 10

    Incorrect syntax near '?'.

    on spt_values.number = 1 and spt_values.type = 'E'