If you have a primary key then maybe use REPLACE
In reply to Re: DBI Update dynamically by poj in thread DBI Update dynamically by Anonymous Monk