• Srinivas Sampath:

    Very nice job with almost no extra words in explain the CTE.

    Some thoughts:

    1. It looks like CTE could replace table variable in most of the case, is this right?

    2. How long the live of CTE will be lasted? If is created in procA and it at the end called procB, could the same CTE be used in procB as a ## global temp table?

    Want to see more articles from you!

    thanks

    David