--测试数据
create table tb(id int,img image)
insert tb select 1,0x29437
union all select 2,0x2934
go
--处理,把id=2的加到id=1的记录上
declare @p1 binary(16),@p2 binary(16)
select @p1=textptr(img) from tb where id=1
select @p2=textptr(img) from tb where id=2
updatetext tb.img @p1 null 0 tb.img @p2
go
--显示处理结果
select * from tb
go
--删除测试
drop table tb
/*--测试结果
id img
----------- --------------------
1 0x0294372934
2 0x2934