• You would be better served with the last line like this:

    EXEC sp_executesql @SQL

    You should have a higher plan reuse rate instead of the standard EXECUTE (@SQL)