Posts

Showing posts with the label CLR

Steps for how to create CLR Stored Procedure in SQL Server

Image
Steps for how to create CLR Stored Procedure – SQL Server What is CLR? The .NET Framework provides a run-time environment called the common language run time (CLR). CLR manages the execution of programs written in different supported languages. CLR transforms source code into a form of byte code known as Common Intermediate Language (CIL). At run time, CLR handles the execution of the CIL code. For further reading on CLR, please go through the article provided in below link: https://docs.microsoft.com/en-us/dotnet/standard/clr CLR Role in SQL Server Stored Procedure: CLR plays the role of interoperability to make C# code being worked as SQL Stored procedure. To make the C# code to be understandable or converted to SQL Stored procedure, CLR comes into picture.  The reason to create Stored Procedure or Functions in CLR is to accomplish many tasks which is not possible in T-SQL like complex String Operations etc. So, without further due l...