Optimize initDelete in SqlQuery