update companys set Fid=(select top 1 Fid from ProContent where ProContent.公司名称=companys.公司名称 and Fid is not null),Sid=(select top 1 Sid from ProContent where ProContent.公司名称=companys.公司名称 and Sid is not null),Tid=(select top 1 Fid from ProContent where ProContent.公司名称=companys.公司名称 and Sid is not null) where  where Fid is null
文章来源:http://www.cnblogs.com/wangdetian168/archive/2008/09/25/1298754.html
posted on 2010-09-29 13:28 sanmao 阅读(531) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航:
 

常用链接

留言簿(5)

随笔分类

随笔档案

搜索

  •  

最新评论

阅读排行榜

评论排行榜