• Forgive the double-post here, but I wanted to make sure this was highlighted separately. MS has confirmed to us it's a bug. They claim it's fixed in CU5, though the KB article indicates symptoms we didn't see and doesn't mention ownership chaining. Nonetheless the article is very similar and addresses "CTE calling a function," so... good chance CU5 does happen to fix this problem, too.

    Here's the article: http://support.microsoft.com/kb/2861387

    We're testing it right now.