O'Reilly logo

Microsoft® SQL Server 2012 Unleashed by Alex T. Silverstein, Chris Gallelli, Paul T. Bertucci, Ray Rankins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Developing Custom Managed Database Objects

SQL Server 2012 hosts the common language runtime (CLR), implementing what’s known as the Hosting API. The Hosting API gives SQL Server 2012 full control over the execution of .NET code in a carefully managed environment that honors the shared resource usage of both SQL Server and the CLR. The CLR provides an execution context far safer than that of code you might formerly have run in an extended stored procedure or COM object under previous editions.

In the sections that follow, you will create one of each of the managed versions of database routines and types. You work with both the SQL Server Database project type in SSDT as well as the T-SQL Data Definition Language (DDL) syntax for managed objects. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required