November 13, 2001 at 6:37 pm
Okay now I'm stumped, my last posting was a little premature, my bad. But I don't quite no how to get this one. I have a field called LogTime which holds the time a certain event happened. I want to count the number of times the difference between entries in the field were 4 minutes or more. I can't quite figure out if there is something like Datediff specifically for time only. I tried using
Datediff(minute, Logtime, Getdate) > 4 but that returns an error. I just can't find the right syntax. Any ideas
November 13, 2001 at 7:28 pm
have you looked in the bol?
try
Datediff(mi, Logtime, Getdate())
Cursors never.
DTS - only when needed and never to control.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy