Posts by Agnaldo Junior • 11 points
1 post
-
1
votes3
answers2086
viewsA: Return an sql command in a Function
You need to use the function sp_execute_sql within your function, in which you can pass a function such as string, and dynamically assemble your query as a string to be executed EXECUTE…