I am calling one function using dynamic SQL query which accepts TVP. Is there any way to pass table values parameter in dynamic sql. One thing I can do to achieve this is to pass comma separated string and then convert this comma separated string to table. But the problem is then I have to convert string - table for each item in my table (The function is called for all the rows) which can be avoided if I can pass table in dynamic sql.
Thanks Ashwani