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

Status
Not open for further replies.

mouniryoussef

Programmer
Jul 26, 2005
14
US
how can i update two tables in one statement update ?


thanks
 
are you sur ? someone asked me this question in an interview..@#$%^&* ;)

thanks a lot
 
If you take a look at the syntax of the update statement you will see it allows only one table to be updated at one time. Try it, create 2 tables and try to do a set on one col in tableA and a set for a col in tabelB. You will get an error. Unless there is some sort of trick that I am not aware of, I would like to know it!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top