UPDATE destinationtable
SET destinationtable.path = sourcetable.path
FROM sourcetable
WHERE destinationtable.id = sourcetable.id
Thursday, May 31, 2007 STOP! This is an old post. Are you sure it's still relevant?
Update a Table Based on Values from a Separate Table
Here's a script to update a table based on values from a separate table, where the two tables can be joined by an ID field.
No comments:
Post a Comment