• Why not put the values of the variables in the dynamic sql @sql before execution

    Far away is close at hand in the images of elsewhere.
    Anon.