<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.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>Date and Time concurrency</title><link>http://sqlblog.com/blogs/peter_larsson/archive/2009/09/19/date-and-time-concurrency.aspx</link><description>In the past I mostly have given the advice to break down all date intervals into the smallest part (often minutes) and then group by the minute. -- Prepare sample data DECLARE @Data TABLE ( RecID INT IDENTITY ( 1 , 1 ) PRIMARY KEY CLUSTERED , CreateDate</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator></channel></rss>