sql 2005, 表 table_A , 有一个 nvarchar(max) 字段,我怎么样才能知道这个表的 'large value types out of row' 现在是“on”还是“off”??

解决方案 »

  1.   

    当 sp_tableoption 存储过程的 'large value types out of row' 选项设置为 OFF 时,大值类型的行内存储限制为 8000 个字节。当此选项设置为 ON 时,只在行内存储 16 字节的根。有关详细信息,请参阅 sp_tableoption (Transact-SQL)。看看sp_tableoption的帮助~
      

  2.   

    我要知道  'large value types out of row'  现在的值。不是更改。
      

  3.   

    用 OBJECTPROPERTY ( id , TableTextInRowLimit )
      

  4.   

    select OBJECTPROPERTY ( OBJECT_ID(N'TABLENAME') , 'TableTextInRowLimit' )
      

  5.   

    没有用,'TableTextInRowLimit' 不是  'large value types out of row' exec sp_tableoption  'table_A','large value types out of row',0;
    exec sp_tableoption  'table_A','large value types out of row',1;都一样的。
      

  6.   

    up.怎么样才能知道这个表的 'large value types out of row' 现在是“on”还是“off”??
      

  7.   

    select OBJECTPROPERTY(object_id('sysobjects'),'TableTextInRowLimit')