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 閱讀(542)
評論(0) 編輯 收藏