Hi,I thought this would be easy but I'm getting confused (glad it is Friday). I want to update one set of user records with another set of records. Below are my two attempts but neither works. I want user 2 to have the same email and phone values as user 1.CREATE TABLE [dbo].[QuoteCommunications] ( [QuotePersonID] [int] NOT NULL , [CommType] [varchar] (10) NOT NULL , [CommValue] [varchar] (50) NOT NULL )INSERT INTO QuoteCommunications VALUES (1,'Email','test@test.com');INSERT INTO QuoteCommunications VALUES (1,'Phone','867-5309');INSERT INTO QuoteCommunications VALUES (2,'Email','');INSERT INTO QuoteCommunications VALUES (2,'Phone','');UPDATE QuoteCommunications SET CommValue = a.CommValueFROM QuoteCommunications a JOIN QuoteCommunications b ON a.CommType = b.CommTypeWHERE a.QuotePersonID = 1 AND b.QuotePersonID = 2UPDATE QuoteCommunications SET CommValue = a.CommValueFROM QuoteCommunications aWHERE a.QuotePersonID = 1 AND QuotePersonID = 2 AND a.CommType = CommType
ThanksNic