Something like this? Hard to say without seeing the table DDLs. In any case, uncomment the two lines I have commented out and run the select part to see what is going to be updated before you use it if you choose to use it.UPDATE r SET
r.CLERK = g.CLERK
--SELECT
-- r.CLERK,g.CLERK
FROM
Civil.dbo.receipts r
INNER JOIN civil.dbo.gcsoreceipts g ON
g.receiptno = r.receiptno;