SET ROWCOUNT 65535
SELECT * FROM TABLEA或者SELECT TOP 65535 * FROM TABLEA

解决方案 »

  1.   

    为什么会出现null呢?表中是没有null的
      

  2.   

    select top 65535 * from "yd-new" where zhujiao not in (select top 1*65535 zhujiao from "yd-new") 主键是zhujiao为什么这样写会报错
      

  3.   

    select top 65535 * from "yd-new" where zhujiao not in (select top 1*65535 zhujiao from "yd-new") 这样写是错的top后面只能跟常量
    lz需要使用动态sql实现分页