sabiqisback
I cann't be coool
Tuesday, May 3, 2011
SQL Update table query with inner join
UPDATE
ot
SET
ot.Description=h.headName +'-'+d.description
FROM
OrderTable ot
INNER JOIN
DescriptionTable d
ON
d.description=ot.Description
INNER JOIN
HeaderTable h
ON
h.id=d.headID ;
Thanks to
http://www.bennadel.com
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment