sql db entry/update/deletion automation