alerting insert query for debug