$ 0 0 Marked an answer to the question CTE ajuda. in the Programação avançada com o SQL Server Forum.