• Thanks for that and it does indeed work on a sole database at a time.

    I would need it to run from master and get all databases