select top 10
最后也就是最前,注意排序就行了,想好是升序或降序

解决方案 »

  1.   

    select top 10
    form jbxx
    where cbh<分页标记
      

  2.   

    to WangMinYI(步行者)你这样的写法。我举个例子。  现有一数据库1000条记录。我想中间500(有可能是任意数)往前取数据,每次取出10条。现假设分页标记为500那么用
    select top 10
    from jbxx
    where cbh<500
    是把最前面的1到10给显示出来了。
    我想应该取的是490-500之间的数, 再点击上一页时显示480-490
      

  3.   

    Identifies a record in a dataset for later navigation.UnitDBtype TBook = Pointer;DescriptionTBook is the type of the Book parameter in the GetBook, GotoBook, and FreeBook methods of a dataset component. Note: Different types of datsets can implement books differently. Do not use a TBook from one type of dataset (for example, a BDE-enabled dataset) with methods on another type of dataset (for example, an ADO-based dataset).
    在你500处放一个标签;BOOKMARK;
      

  4.   

    先降序,再
    select top 10
    就可以了。
      

  5.   

    取相反的排序方式;
    select top 10 ...
    就可以啦