Please start any new threads on our new
site at http://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Our new SQL Server Forums are live!
Come on over! We've restricted the ability to create new threads on these forums.
Very Important crosS Applying yaK Herder
SET c.P_id = p.P_Id
FROM Child c
JOIN Parent p
ON p.[name] = c.[name]
WHERE p.P_id <> c.P_id
SET P_id = p.P_id
FROM child as c
JOIN parent as p
On p.name = c.name
Aged Yak Warrior