SQL SERVER的update语句
sqlserver吧
全部回复
仅看楼主
level 1
十悦孤滴家2Y
楼主
表A(a,b)和表B(a,b),如果A,B中某条记录的b字段值相同,则将B中的a字段更新到A的a字段中,存在多条这样的记录,求解,谢谢。我自己写了一条不行的
update tbl_security_identity_cache set tbl_security_identity_cache.sid=abc.sid where tbl_security_identity_cache.account_name=adc.account_name
2015年08月06日 01点08分
1
1