|
 
- UID
- 79131
- 帖子
- 40
- 活跃度
- 55 点
- 火车车厢
- 3 节
- 注册时间
- 2008-1-24
|
5楼
发表于 2008-6-5 14:18
| 只看该作者
DECLARE @ptr binary(16)
if((select open from tableA where id='5928')=0)
update tableA set address='aaaa',mo_open=1 where id='5928'
else
select @ptr=textptr(address) from tableA where id='5928'
UPDATETEXT tableA.address @ptr null 0 'aaaa'
现在我简化到这样,但还是提示有错!~~~
出现错误 tableA表1-错误信息:-1 |
|