Select Distinct "Update Bio_Vouchers set Tha_Adj=1 , Vchr_Date2='" || Vchr_Date1 || "'  Where Vchr_Serial=" || Vchr_Serial || " And Vchr_Date1<>'" || Vchr_Date1 || "' ;" from bio_Vouchers Order By Vchr_Serial
