[SQL] 只更新表中某一部分数据的实现方法

(1)只更新表中前10条数据(更新为固定值): spa update BranchAccount set AccountNumber = '10010' from (select top 10 *from BranchAccountorder by ID)as t1 where BranchAccount.ID = t1.ID blog (2)用一个表的字段值更新另外一个表的某字段值: date
相关文章
相关标签/搜索