CLR User-Defined Functions (ADO.NET)

User-defined functions are routines that can take parameters, perform calculations or other actions, and return a result. Starting with Microsoft SQL Server 2005, you can write user-defined functions in any Microsoft .NET Framework programming language, such as Microsoft Visual Basic .NET or Microsoft Visual C#.

For more detailed information, see the version of SQL Server Books Online for the version of SQL Server you are using.

SQL Server 2005

SQL Server 2008

CLR User-Defined Functions

CLR User-Defined Functions

See Also

Other Resources

Creating SQL Server 2005 Objects in Managed Code

ADO.NET Managed Providers and DataSet Developer Center