Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

SQL Help

Options
  • 23-11-2006 12:09pm
    #1
    Registered Users Posts: 1,144 ✭✭✭


    Hows it goin?
    I'm doing a bit of work with SQL Server 2000 atm:

    I have a table full of events. I've 2 date fields: eventDate which stores the time the event comes into the server and eventUpdated which stores the time when the event is processed by the server.

    Basicaly i need to return the event that was processed the quickest in the table.

    any pointers??

    Thanks David(Gracehopper)


Comments

  • Registered Users Posts: 1,193 ✭✭✭liamo


    The first thing you need to do is establish the duration of the process. Look up DATEDIFF in the help files. That should get you going.

    Regards,

    Liam


  • Registered Users Posts: 1,144 ✭✭✭gracehopper


    liamo wrote:
    The first thing you need to do is establish the duration of the process. Look up DATEDIFF in the help files. That should get you going.

    Regards,

    Liam

    thanks man, i didnt use DateDiff but i got it working by my own way thanks!


Advertisement