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!

Update 2 tabels

Status
Not open for further replies.

NotSQL

Technical User
May 17, 2005
205
GB
Hi, is it possible to update 2 tables in one sql statement?

Eg

Update test1, test2
Set test1.aaaa = 'BBBB', test2.aaaa = 'CCCC'
 
no

You must update each table seperately.

-George

Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top