SQL CLR: Difference between revisions
Appearance
Content deleted Content added
m sort stub |
m →Intro: list |
||
Line 3: | Line 3: | ||
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 Sharp|C#]] or [[VB.NET]]. |
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 Sharp|C#]] or [[VB.NET]]. |
||
*[[Stored procedure]]s (SP's) which are analogous to ''procedures'' or ''void functions'' in procedural languages like VB or C, |
|||
*[[Database trigger|triggers]] which are stored procedures that fire in response to [[Data Manipulation Language]] (DML) or [[Data Definition Language]] (DDL) events, |
|||
*[[User-defined function]]s (UDF's) which are analagous to functions in procedural languages, |
|||
*[[User-defined aggregate]]s (UDA's) which allow developers to create custom aggregates that act on sets of data instead of one row at a time, |
|||
*[[User-defined type]]s (UDT's) 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 .NET ''assemblies'', which are physically stored in managed code dynamic load libraries (DLL's). These assemblies may contain .NET namespaces, classes, functions and properties. |
The SQL CLR relies on the creation, deployment, and registration of .NET ''assemblies'', which are physically stored in managed code dynamic load libraries (DLL's). These assemblies may contain .NET namespaces, classes, functions and properties. |
Revision as of 10:55, 1 October 2007
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 (SP's) 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 (UDF's) which are analagous to functions in procedural languages,
- User-defined aggregates (UDA's) which allow developers to create custom aggregates that act on sets of data instead of one row at a time,
- User-defined types (UDT's) 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 .NET assemblies, which are physically stored in managed code dynamic load libraries (DLL's). These assemblies may contain .NET namespaces, classes, functions and properties.
External Links
- http://msdn2.microsoft.com/en-us/library/ms345136.aspx
- SQL CLR Team Blog
- .NET Framework Data Access and Storage