Larry Brister
asked on
complex update query
My attached select query works fine
But I need to update CALLDETAIL.dbo.inboundVoic eMail.exis tsCRM to True
where portal.dbo.FormatPhoneNumb er2(source Number) = p.name
But I need to update CALLDETAIL.dbo.inboundVoic
where portal.dbo.FormatPhoneNumb
Select portal.dbo.FormatPhoneNumber2(sourceNumber) sourceNumber, p.name
from CALLDETAIL.dbo.inboundVoiceMail
left join (Select name from crmprod_01.dbo.phone_phones
group by name) p
on portal.dbo.FormatPhoneNumber2(sourceNumber) = p.name
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
WOrked with the exception of changing the left join to a join
Open in new window