is it better to use temporary tables or subqueries in an inline function if an inline function performs complicated calculation and this inline function is called in a pivot thanks
is it better to use temporary tables or subqueries in an inline function if an inline function performs complicated calculation and this inline function is called in a pivot thanks
you cant have temporary tables in inline function Using temporary tables means its not inline but its multistatement table valued function.
------------------------------------------------------------------------------------------------------ SQL Server MVP http://visakhm.blogspot.com/