sql plugin clear working