ASHISH SRIVASTAVA
(Move to ...)
▼
Friday 9 March 2018
Update a table using JOIN in SQL Server
UPDATE
t1
SET
t1.TID = t2.DOID
FROM
dbo.Table1
AS
t1
INNER
JOIN
dbo.Table2
AS
t2
ON
t1.CommonField = t2.[Common Field]
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment