Sql server update multiple columns from another table

后端 未结 4 1691
情歌与酒
情歌与酒 2021-02-19 17:57

I have read lots of post about how to update multiple columns but still can\'t find right answer.

I have one table and I would like update this table from another table.

4条回答
  •  清酒与你
    2021-02-19 18:33

    The UPDATE SET commands implicitly apply on the table specified by , and it is not possible to specify the table on the SET operation.

    Edit: Specify only the column name you want to update, do not mention the table.

提交回复
热议问题