备注:两库两表联合修改

update ar_tradevv.dbo.mainProductType  set  ar_tradevv.dbo.mainProductType.typename=testdb.dbo.a.ar  from  ar_tradevv.dbo.mainProductType,testdb.dbo.a  where  ar_tradevv.dbo.mainProductType.tid= testdb.dbo.a.id

posted @ 2010-07-28 10:16  zmxmiss  阅读(271)  评论(0编辑  收藏  举报