--替换图片途径
--原 src="/egovips/UploadFile/201108091024399360.jpg"
--现 src="/Admin/Informational/ImageUpload/NewsPhotoes/201112051427162327.jpg"
--转移成.sql到SQL2008执行。
--REPLACE
--update T_InformationBulletin
 --set newContent =replace (convert(varchar(5000),newContent) ,'/egovips/UploadFile/','/Admin/Informational/ImageUpload/NewsPhotoes/')
--where id < 10000 and menuid = 2

 

在SQL低版本中都支持一些个别操作,比如 varchar(max)在SQL2000都没这种类别。转高版本慢慢换,之后可以通过Database Publishing Wizard转回来也可以通过导入导出向导把数据导回来