check sql provider