I have a table valued function that returns a table. When I try to JOIN the table-valued function with another table I don\'t get any results, but when I copy t
JOIN
If we made some assumptions that params of table valued functions are not dependent on myTable columns dynamically this will work.
SELECT * FROM myTable INNER JOIN (SELECT * from fn_function(@para1, @para2 etc)) ON ...
but if the params are dependent on myTable it will not work