SQL CLR

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 .NET "assemblies", which are physically stored in managed code dynamic load libraries (DLLs). These assemblies may contain .NET namespaces, classes, functions and properties.

External links

* [http://msdn2.microsoft.com/en-us/library/ms345136.aspx MSDN: Using CLR Integration in SQL Server 2005]
* [http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=86&SiteID=1 MSDN Forum on .NET Framework in SQL Server]
* [http://blogs.msdn.com/sqlclr/ SQL CLR Team Blog (No posts since 2006, might be dead)]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • SQL Server Reporting Services — (сокр. SSRS, рус. Службы отчетности SQL Server)  программная серверная система создания отчетов, разработанная корпорацией Microsoft. Она может быть использована для подготовки множества интерактивных и печатных отчетов. Система… …   Википедия

  • SQL Server Management Studio — SQL Server Management Studio  утилита из Microsoft SQL Server 2005 и более поздних версий для конфигурирования, управления и администрирования всех компонентов Microsoft SQL Server. Утилита включает скриптовый редактор и графическую… …   Википедия

  • SQL Server — Microsoft SQL Server SQL Server Développeur Microsoft Dernière …   Wikipédia en Français

  • SQL Server 2000 — Microsoft SQL Server SQL Server Développeur Microsoft Dernière …   Wikipédia en Français

  • SQL Azure — Windows Azure SQL Databases (Windows Azure SQL Databases) Разработчик Microsoft Семейство ОС Microsoft SQL Server Первый выпуск Март 2009 Windows Azure SQL Databases (первоначально SQL Server Data Services, позже SQL Services, позже Windows Azure …   Википедия

  • SQL Server Compact — Filename extension .sdf Developed by Microsoft Type of format Relational database Microsoft SQL Server Compact (SQL CE) is a compact relational database produced by Microsoft for applications that run on mobile devices and desktops. Prior to the… …   Wikipedia

  • Microsoft SQL Server — SQL Server Développeur Microsoft Dernière version 2008 ( …   Wikipédia en Français

  • SQL Server 2005 — Microsoft SQL Server Тип Реляционная СУБД Разработчик ОС Microsoft Windows Версия 2008 6 августа 2008 Лицензия …   Википедия

  • SQL Server 2008 — Microsoft SQL Server Тип Реляционная СУБД Разработчик ОС Microsoft Windows Версия 2008 6 августа 2008 Лицензия …   Википедия

  • SQL Server 2000 — Microsoft SQL Server Тип Реляционная СУБД Разработчик ОС Microsoft Windows Версия 2008 6 августа 2008 Лицензия …   Википедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”