Grabbing certain records off of a query

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Grabbing certain records off of a query

    Hi,

    Let's say that I am paging through results of a 10,000 record query.

    What would be the SQL query for grabbing only records 50-60 from that
    10,000 record query?

    Anyone know?

    Joe


    Joe_Krako Guest

  2. Similar Questions and Discussions

    1. Verity not indexing all records from query
      Hello, I'm running into an issue that I haven't encountered before. I'm running a query against database, and then using CFINDEX to index the...
    2. How To Query Large Data/Records ?
      Hi All, Here is my Problem - In my search form I have to query 50 million records in a single transaction and to display the results . - Without...
    3. Query empty records
      I have a simple query to retrieve total order amount by customers, ie, selet customers.customer_id, customers.customer_name,...
    4. data extraction from records of query
      hello sir thanks in advance for the help i have a query on the basis of a table,the query results in 4-records i want to use tha data in...
    5. SQL Query for deleting duplicate records
      Dear All, Does anyone know the SQL query for deleting duplicated record from a table? Eg: There are 10 fields, out of that if two fields (say...
  3. #2

    Default Re: Grabbing certain records off of a query

    The options available to you are highly dependant on what RDBMS you are using
    and on the details of your table(s) and query.

    The only universal approach is to use a Ranking query. You can google that
    but they can be mind twisting challenges for real life tables.

    If you are not using SQL server or Oracle, you must upgrade at once (kidding!
    ;)

    MikerRoo Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139