Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2004
    Posts
    11

    Unanswered: random from list

    I have a customer that wants to be able to generate a random list...
    -----------------------
    The list is case numbers, and I can get those easy enough by saying

    SELECT
    dbo.table_case.id_number
    FROM
    dbo.table_case


    Now, what I want to do is take that list and extract 1 out of every 1000, picking out random id_numbers to display.


    Is this something I can do via a SQL query?

    Thanks,
    Dan

  2. #2
    Join Date
    Nov 2002
    Location
    Jersey
    Posts
    10,322
    Has to be limited for 1 pull between

    1-1000
    1001 -2000
    2001 - 3000

    ect?
    Brett
    8-)

    It's a Great Day for America everybody!

    dbforums Yak CorralRadio 'Rita
    dbForums Member List
    I'm Good Once as I ever was

    The physical order of data in a database has no meaning.

Posting Permissions

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