I have function that have been colled in stored procedure.
The function returns a table and have to fill another table.
Maybe this queistion might be seems a little naive but im a newer in T-SQL.
Thank you in advance.
I have function that have been colled in stored procedure. The function returns a
Share
Just use the function as though it was a table. You can:
If you need to pass a value from the outer query into the UDF, use Cross Apply
like this: