generated insert/update statements