--结果呢?
select top 1 * from srv_lnk.远程数据库A.dbo.test 

解决方案 »

  1.   

    update srv_lnk.远程数据库A.dbo.test set 内容='chenggong' 
    from srv_lnk.远程数据库A.dbo.test aa
    inner join 本地数据库.dbo.b bb on  aa.id = bb.id 
     where 本地数据库.dbo.B.状态='不正常' 
      

  2.   

    多谢3楼和4楼。你们的方法能成功。我想问得复杂点如果2个表没关联项,我这样写:
    update srv_lnk.远程数据库A.dbo.test set 内容='chenggong' 
    from srv_lnk.远程数据库A.dbo.test aa 
    cross join 本地数据库.dbo.b where 本地数据库.dbo.B.状态='不正常'
    会出错,是不是一定要有关联项的?