• Seriously? You can only use a CTE in the statement immediately following?

    When I read the article, the impression I got was that you could define a CTE at the top of something like a stored proc, then use it all the way through. Is my understanding wrong?