开发者

Update multiple table column values using single query in SQL?

开发者 https://www.devze.com 2022-12-30 22:40 出处:网络
I have two tables like Temp1 and Temp2 The Table Temp1 have id and Col1 fields and The Table T开发者_开发问答emp2 have id and Col2 fields

I have two tables like Temp1 and Temp2

The Table Temp1 have id and Col1 fields and The Table T开发者_开发问答emp2 have id and Col2 fields

I need to update the two table fields Col1 and Col2 using single query in SQL.

Can anyone help me??????


You can't update 2 tables in single SQL. Use stored procedure or transaction

0

精彩评论

暂无评论...
验证码 换一张
取 消