N S

Novick Software
SQL Server Consulting • Design • Programming • Training

  andy novick is a sql server mvp

 

 

Programming SQL Server 2005 with .Net
Revised January 16, 2006

Slides for SQLCLR and Download the Code

SQL Server 2005 (code name Yukon) opens up the opportunity to run .Net code right inside SQL Server Engine on a par with T-SQL. This gives the programmer an expanded choice of programming language. This presentation shows you how to write C# or VB.Net routines and execute them in SQL Server as one of the supported SQL object types:

  • Stored Procedure
  • Scalar or Table User-defined Function
  • Trigger
  • User-defined Aggregate

Each of these objects has its own requirements .Net code to work in SQL Server. Included in the presentation are two key factors that must be accounted for in all SQL/.Net code:

  • Using SQL Types and .Net Types
  • Working with the SQL Server managed data provider

The presentation also touches on high level topics such as:

  • When is it appropriate to use .Net code versus T-SQL
  •  A preliminary look at performance of .Net code.

An older set of slides can be seen here: Slides are can be downloaded here .     Download Code Samples

Neils Burgland's SQLCLR Project has a VS project that is an alternative to the one supplied with Visual Studio.

Scheduled Presentations:

Microsoft Code Camp IV
Sept. 24-25 2005

Mini-Code Camp

SQL Server Programming: From 2000 to 2005

October 22, 2005

Register 

.Net Learning
User Group

January 16, 2006

Central Mass .Net UG

April 4th 2006

 


RSS as HTML

Personal Blog

 
New Tips:

Use dsinit to set the SQL Server instance for Windows Azure dev storage

Upcoming
Presentations:

Fairfield
Westchstr
SQL

July 8
Data Dude
 

RI SQL
July 14
SQL Azure


Full Schedule