Balajiprasad's useful codes
Important codings & concepts in web & window applications using microsoft technologies.
Thursday, December 22, 2011
Update one table with another tables values
UPDATE
TBL1
SET
TBL1
.
COL
=
TBL2
.
COL2
FROM
TBL1
INNER
JOIN
TBL2
ON
TBL1
.
ID
=
TBL2
.
ID
WHERE
TBL2
.
COL
>=
1
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment