还有就是用 readtext 如何一下,把所有数据取出

解决方案 »

  1.   

    拿个这个分 问另外个问题吧!
    insert 的过程如下,
    CREATE PROCEDURE  report_write @report_id int,@ptrval1 text 
    AS 
    1 inset table (name, titel)  values (@name,@title) //插入 队ntext 段外所有字段2 declare @ptrval varbinary(16) 
    SELECT @ptrval = TEXTPTR(content) from report where id=@report_id  
    writetext report.content @ptrval @ptrval1 //插入 ntext 问题在这 自动增加 id ,如何得到他的值
    SELECT @ptrval = TEXTPTR(content) from report where id=@id  
      

  2.   

    ntext 与 text 字符计算方法不同