Results 1 to 2 of 2

Thread: select distinct on a lot of data

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Mar 2005
    Posts
    2,933

    select distinct on a lot of data

    I need to select distinct value from a Date Filed named DATA1.
    The field DATA1 is indexed.
    i have tested a query with Select Distinct or Group by, but the result in other case, are very slow!

    I use Access, the conn is a tipical ADO conn, and the records are approx 500.000-

    have a good suggestion to solve the time delay for sleect distinct...?

  2. #2
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: select distinct on a lot of data

    GROUP BY should be faster but with 500K records in Access I doubt you will something better.
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

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