added sql delete assert