encyclopegia.org

SQL CLR

SQL CLR or SQLCLR (SQL Common Language Runtime) is technology for hosting of the Microsoft .NET common language runtime engine within SQL Server. The SQLCLR allows managed code to be hosted by, and run in, the Microsoft SQL Server environment. This technology, introduced in Microsoft SQL Server 2005, allow users for example to create the following types of managed code objects in SQL Server in .NET languages such as C# or VB.NET. *Stored procedures (SPs) which are analogous to procedures or void functions in procedural languages like VB or C, *Triggers which are stored procedures that fire in response to Data Manipulation Language (DML) or Data Definition Language (DDL) events, *User-defined functions (UDFs) which are analogous to functions in procedural languages, *User-defined aggregates (UDAs) which allow developers to create custom aggregates that act on sets of data instead of one row at a time, *User-defined types (UDTs) that allow users to create simple or complex data types which can be serialized and deserialized within the database. The SQL CLR relies on the creation, deployment, and registration of CLI assemblies, which are physically stored in managed code dynamic load libraries (DLLs). These assemblies may contain CLI namespaces, classes, functions and properties.

SQL CLR or SQLCLR (SQL Common Language Runtime) is technology for hosting of the Microsoft .NET common language runtime engine within SQL Server. The SQLCLR allows managed code to be hosted by, and run in, the Microsoft SQL Server environment. This technology, introduced in Microsoft SQL Server 2005, allow users for example to create the following types of managed code objects in SQL Server in .NET languages such as C# or VB.NET. Stored procedures (SPs) which are analogous to procedures or void functions in procedural languages like VB or C, Triggers which are stored procedures that fire in response to Data Manipulation Language (DML) or Data Definition Language (DDL) events, User-defined functions (UDFs) which are analogous to functions in procedural languages, User-defined aggregates (UDAs) which allow developers to create custom aggregates that act on sets of data instead of one row at a time, User-defined types (UDTs) that allow users to create simple or complex data types which can be serialized and deserialized within the database. The SQL CLR relies on the creation, deployment, and registration of CLI assemblies, which are physically stored in managed code dynamic load libraries (DLLs). These assemblies may contain CLI namespaces, classes, functions and properties. ==References== ==External links== Microsoft Docs: Common Language Runtime Integration Overview (Latest version) MSDN: Using CLR Integration in SQL Server 2005 (Provides the perspective at the time of the initial release.)

References

No reference rows published for this article.

Cite this article

MLA

"SQL CLR." encyclopegia.org, 2025, https://encyclopegia.org/wiki/sql-clr. Accessed 24 November 2026.

Chicago

"SQL CLR." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/sql-clr.

APA

encyclopegia.org. (2025). SQL CLR. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/sql-clr

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Richard Bullock Andrews

enwiki · references available

Ladislav Stroupežnický

enwiki · references available

Alireza Tahmasbi

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1330151983 · 0.5 · snapshot enwiki-001330151983

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.