Cómo ejecutar una función en SQL
There is no standard way to run a function in SQL Server.
However, some common methods are to use a stored procedure or to use the Execute command.
Caffeinated Developer