my $sth = $dbh->prepare(" UPDATE twsJobs SET ? = ? WHERE jobId = ? "); $dbh->execute($field_name, ..., ...);