Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2001-10-09 : 09:23:41
|
| Beth writes "Greetings:Here is my problem:we have data that has a date column that records a hit date/time for an application we are testing. I want to count as a single hit any time recorded within 10 seconds (minus 5 seconds and plus 5 seconds ) of row's recorded hit time.So: we have a times of:11:35:3011:35:3211:35:3311:35:4111:35:4111:35:5211:35:5311:35:54I want to count 3 hits Hit 1: (11:35:30, 11:35:32, 11:35:33)Hit 2: (11:35:41, 11:35:41)Hit 3: (11:35:52, 11:35:53, 11:35:54)SQL Server 7, WinNT 4.0 sp6Any suggestions on how to even start this gratefully receivedThnakyou" |
|
|
|
|
|