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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update data

Status
Not open for further replies.

nDAa

Programmer
Mar 1, 2005
14
TH
I am trying to Update multiple row for example :

Table1 : fld11 fld12
101 48A01
101 48A02
101 48A03
102 48A04
103 48A05
105 48A06
105 48A07
Table2 : fld21 fld22
48A01 'N'
48A02 'N'
48A03 'N'
48A04 'N'
48A05 'N'
48A06 'N'
48A07 'N'
I need my query to update like this :

UPDATE Table2
SET fld22 = 'R'
WHERE Table1.fld11 = '101'
Anyone have any suggestions ?


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top