Results 1 to 3 of 3

Thread: Specific Row in a table

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2001
    Location
    Philippines
    Posts
    136

    Specific Row in a table

    Im using SQL 7.0. I have 1 table with 6,000 records. How can I go to record 101 (i mean row 101 of my table) using a sql statement. Does anybody?
    thanks in advance
    elbimbo

  2. #2
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724
    SELECT TOP 1 * FROM Table WHERE FieldA NOT IN (SELECT TOP 100 FieldA FROM Table)

  3. #3
    Frenzied Member Memnoch1207's Avatar
    Join Date
    Feb 2002
    Location
    DUH, Guess...Hint: It's really hot!
    Posts
    1,861
    if there is a specific identifier for that record (such as a unique record number or something) then you can do

    SELECT * FROM tablename WHERE recordnumber = " & txtRecordNumber.Text & "

    this really depends on how you specify getting the recordnumber, whether it will be hard coded or there will be something like a textbox that a user can enter a recordnumber into.
    Being educated does not make you intelligent.

    Need a weekend getaway??? Come Visit

Posting Permissions

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



Click Here to Expand Forum to Full Width