Don't have Telegram yet? Try it now!
http://www.techmixing.com/2012/01/cte-command-in-sql-server.html
CTE command In Sql Server