update "dbo"."replicatorhistory"
			 set
		        replicatorhistory_issuccess = $1,
		        replicatorhistory_insertcount = $2,
                replicatorhistory_begdate = $3,
                replicatorhistory_enddate = $4,
                replicatorhistory_checkbegdate = localtimestamp,
                pmuser_updid = $5
		     where replicatorhistory_name = $6
