UPDATE invoiceitem SET DelNoteNo = DNNo WHERE DNNo IS NOT NULL and DNNo != 0;