SQL Server Performance

  • Home
  • Articles
  • Forums
  • Tips
  • Training
  • FAQ's
  • Blogs
  • Software
  • Books
  • About Us
RSS Feeds
Sign in | Join


USEFUL SITES :

ASP.NET Tutorials
Windows and SQL Azure Tutorials
Cloud Hosting Magazine
SharePoint Tutorials
Windows Server Help

Write for Us

Share your SQL Server knowledge with others and raise your profile in the community More...
Latest Articles

A High Level Comparison Between Oracle and SQL Server - Part ...
A High Level Comparison Between Oracle and SQL Server - Part ...
A High Level Comparison Between Oracle and SQL Server - Part ...
A High Level Comparison Between Oracle and SQL Server

More     
 
Latest FAQ's

Add Node to A SQL Server failover Cluster failed with invalid ...
SQL Server Destination remote server error
Setting Up Data And Log Files For SQL Server
Will Check Constraints Improve Database Performance?

More     
   
Latest Software Reviews

dbForge Review
Spotlight on ApexSQL Diff - Server-based database comparison tool ...
Spotlight on ApexSQL Data Diff - Server-based database comparison tool ...
Spotlight on ApexSQL Doc 2008

More     

books >> sql server 2005 books >> Pro SQL Server 2005 Assemblies

Pro SQL Server 2005 Assemblies


Apr 28, 2006

A Detailed and Example-Driven Tutorial: 'Pro SQL Server 2005 Assemblies'


Review by SQL-Server-Performance.Com

 

 

Pro SQL Server 2005 Assemblies
By Robin Dawson and Julian Skinner.
296 pp. Apress. $49.99.


Murach's SQL for SQL Server Find out more about this book, or purchase it, from Amazon.com.



The integration of the Common Language Runtime (CLR) in Microsoft SQL Server 2005 and the associated opportunities to run code written in .NET in your database is undoubtedly one of the pervasive improvements in SQL Server 2005. While earlier versions restricted you to re-track to Extended Stored Procedures, which had to be written in languages like C, C++ or Delphi, in order to gain access to methods and objects beyond the scope of T-SQL, you now can write code in more commonly used languages such as VB.NET or C#. While poorly written Extended Stored Procedures could destabilize or even crash the whole server, now the CLR governs all and allows for much greater control over database objects not written in T-SQL, not to mention greater security and stability. The integration of the CLR vastly extends the capabilities given to a database developer or administrator. But, as with all new things, you need to make an informed decision on whether or not it makes sense to use the new features, and if so, when and how to use them. This book helps you explore the CLR and what it can do for you in SQL Server 2005.

Here's what the book covers:

  • Introducing Assemblies
  • Writing a Simple SQL Assembly
  • The SQL Server .NET Programming Model
  • CLR Stored Procedures
  • User-Defined Functions
  • User-Defined Types
  • User-Defined Aggregates
  • CLR Trigger
  • Error Handling and Debugging Strategies
  • Security
  • Integrating Assemblies with Other Technologies

The book includes many well-explained code samples written in C#. A working knowledge of this language surely won't hurt. However, a VB.NET developer will also find the work valuable because all the samples are available in VB.NET from the publisher's Web site.

This book relieved some of the resentments I had against the integration of the CLR into SQL Server 2005, mostly because the authors provided good examples of where the use of the CLR actually makes sense. It is notable that the authors do not only focus on the positive aspects of the CLR integration, but also point out the limitations and possible pitfalls. They recommend that you weigh the use of .NET database objects on a case-by-case basis. There is no need to write only CLR code from now on. Or to migrate existing T-SQL to CLR. T-SQL is still the first choice when it comes to data processing. The only potential candidates for migration are those cases where one has pushed T-SQL to its limits — complex mathematical calculations, for example.

If you need to cope with the CLR in SQL Server, this book is definitely worth reading.


        








C# Help and Tutorials | PHP MySQL Tutorial | Sharepoint Tutorial | Azure Tutorial | Cloud Hosting Magazine | ASP.NET Tutorials | Windows Server Help | Windows Phone Pro | Silverlight Ace | Visual Studio Tutorials | Home | Peformance Articles | Audit Articles | Business Intelligence Articles | Clustering Articles | Developer Articles | Reporting Services Articles | DBA Articles | ASP.NET / ADO.NET Articles | SQL Server Training Videos | DBA FAQ's | Developer Peformance FAQ's | DBA Peformance FAQ's | Developer FAQ's | Clustering FAQ's | Error Messages | Audit Tool Reviews | Backup Tool Reviews | Coding Tool Reviews | Compare Tool Reviews | Documentation Tool Reviews | Design Tool Reviews | Monitoring Tool Reviews | Log Tool Reviews | Reporting Tool Reviews | Clustering Tool Reviews | Security Tool Reviews | Change Management Tool Reviews | Remote Access Tool Reviews | Book Reviews | Security Tool Reviews | ADO.NET / ASP.NET | Administration | Analysis/OLAP Services | Application Development | Configuration | Components | ETL | Hardware | High Availability | Hints | Index | Misc | Operating Systems | Performance Tuning | Replication | T-SQL | Views


              © 2010 Jude O'Kelly. All rights reserved