I'm using sql-server 2005
Hi, i have Users table with userID and registrationDate. I want to select shortest period of time between two registrationDates when first date is x and other row is x+10 rows. I don't mind cursor because i will run this query once in a while.
I will explain again, i need shortest period of time between 10 users registrations to get an idea what a high border of registrations per certain time can be.
thanks