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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

SQL Help

  • 23-11-2006 11:09am
    #1
    Registered Users, Registered Users 2 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, Registered Users 2 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, Registered Users 2 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