<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Set-based approach to finding consecutive records</title><link>http://msmvps.com/blogs/robfarley/archive/2007/01/17/set-based-approach-to-finding-consecutive-records.aspx</link><description>I'm sure I've written about this before, but it comes up so regularly in the newsgroups that I thought I'd write an answer here. A table (probably an audit table) exists with a field that stores a date signifying when a change was made. You need to return</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: Set-based approach to finding consecutive records</title><link>http://msmvps.com/blogs/robfarley/archive/2007/01/17/set-based-approach-to-finding-consecutive-records.aspx#1653458</link><pubDate>Fri, 07 Nov 2008 22:43:14 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1653458</guid><dc:creator>Theresa</dc:creator><description>&lt;p&gt;Thank you so much for this solution! It saved a lot of time for coding (I was going to try cursor) and is so simple! Thank you!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1653458" width="1" height="1"&gt;</description></item><item><title>re: Set-based approach to finding consecutive records</title><link>http://msmvps.com/blogs/robfarley/archive/2007/01/17/set-based-approach-to-finding-consecutive-records.aspx#1039497</link><pubDate>Thu, 19 Jul 2007 15:03:29 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1039497</guid><dc:creator>Wentu</dc:creator><description>&lt;p&gt;Thank you very much for this wonderful piece of code, you saved my day !&lt;/p&gt;
&lt;p&gt;Wentu&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1039497" width="1" height="1"&gt;</description></item></channel></rss>