<![CDATA[Latest Content by Kristen Cheyney]]>http://www.sqlmag.com/authors/author/author/5014553/rss/5014553en-USFri, 25 May 2012 10:22:20 GMTFri, 25 May 2012 10:22:20 GMT<![CDATA[How to Determine the Average Number of Days Between Orders or Other Important Events]]>http://www.sqlmag.com/article/tsql3/how-to-determine-the-average-number-of-days-between-orders-or-other-important-eventsUsing a looping algorithm to determine the average number of days between orders can be painfully slow code to write and run. A better approach is to use the ROW_NUMBER function.]]>Kristen CheyneyThu, 14 May 2009 00:00:00 GMThttp://www.sqlmag.com/article/tsql3/how-to-determine-the-average-number-of-days-between-orders-or-other-important-events