Running User-Defined Functions (OLE DB)
The syntax for calling user-defined functions using the Microsoft OLE DB Provider for SQL Server is similar to calling the stored procedures.
To call a user-defined function and processing the return code
OLE DB
See Also
Running Stored Procedures (OLE DB)