Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to update one field from other table

Status
Not open for further replies.

Cap2010

Programmer
Mar 29, 2000
196
CA
hi,

I want to update one field from other table

how do to do this in SQL Server 2000 and Oracle ?

Cap2010
 
Hi Cap2010,

Your question is a bit vague. Could you elaborate?

Dave29Palms
 
Or
Code:
update a
set a.field = b.field
from a, b
where a.key = b.key
Greg.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top