如: declare @pageptr varbinary(16) select @pageptr=textptr(textstring) from texts where id=3 writetext texts.textstring @pageptr “Mary had a little lamb, its fleece was white as snow”
晴天羽 回复于:2002-05-14 09:41:14
declare @pageptr varbinary(16) select @pageptr=textptr(textstring) from texts where id=3 writetext texts.textstring @pageptr “Mary had a little lamb, its fleece was white as snow” 看不太明白,。
晴天羽 回复于:2002-05-15 10:28:58
select @pageptr=textptr(textstring) from texts where id=3 我不懂这句话的意思,id=3是什么意思。这好象是查询的意思,但为什么要把id=3的记录赋给pageptr变量,好奇怪。是不是这是赋值的意思,赋值后再插入。如果我用文件插入,就不要这句话了,对不对?