0

I have a user defined function defined in SQL Server. I want create a single select statement that would be able to execute the function on all rows in a particular column. Is this possible and what would be the best way to do it?

Thank You

I saw this 'Execute table-valued function on multiple rows' and dont believe it answers my question.

Execute table-valued function on multiple rows?

1 Answer 1

4
select dbo.YourFunc(column) as result
from table

PS: Stop thinking procedurally! It's a set-oriented language :)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.