Results 1 to 2 of 2

Thread: Tricky Query

  1. #1

    Thread Starter
    Fanatic Member Gary.Lowe's Avatar
    Join Date
    May 2000
    Location
    In my sphere of influence
    Posts
    621

    Unhappy Tricky Query

    Hi All

    I have the following SQL to find duplicates

    SELECT VisitMember, VisitTime FROM tblVisits
    GROUP BY VisitMember, VisitTime
    HAVING COUNT(*) > 1

    Now what I want to do is add a second onto the duplicate VisitTime so it doesn't conflict anymore.

    Any Suggestions?
    Gary Lowe
    VB6 (Enterprise) SP5
    ADO 2.6
    SQL Server 7 SP3

    OK I know my spelling and grammer is crap so don't quote me on it!

    To err is human to take the P! is only natural !!

    Click on the top section of image for Marcus Miller website and bottom section of image for 'Run For Cover' sound clip


  2. #2
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,539
    what do you mean "add a second"?

    like add 1/60 of a minute? (second) to the visitTime field?

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