$ 0 0 Included a code snippet when answering the select only LAST 6 periods question in the Getting started with SQL Server Forum.