Tamim (5/5/2010)
guys,why i cant use EXEC in table value function!!!!!
any suggestions
thanks in advance
Table valued functions can not cause side effects. Using dynamic sql inside a function could violate that rule, therefore aren't allowed, even if you know for sure that the dynamic sql is read only.