stored procedure in SQL CLR
How do you write a stored procedure using C# in SQLCLR? Currently I am using SQL Server Management Studio and I write stored procedures using T-SQL such as create proc sp_item as .... . See: Building my first SQL CLR stored procedure CLR Assembly RegEx Functions for SQL Server by Example Choosing between CLR and T-SQL stored procedures: a simple benchmark Basically, there are Visual Studio templates which allow you to get started with SQL CLR projects. Fill in the blanks, write your actual code, and you can even deploy those CLR assemblies into SQL Server directly from within Visual Studio.