• @charles Eaton

    Your SP is fine to use if you are using it for maintenance purposes. For transactional purposes, this is typical what you should not be doing.