minor addons to sql management