pro sql server 2005 assemblies

297 346 0
pro sql server 2005 assemblies

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... supporting SQL Server environments for clients in financial services, IT consulting, manufacturing, and the real estate industry Joseph received his bachelor’s degree in psychology from the University of Minnesota He is the author of SQL Server 2005 T -SQL Recipes: A Problem–Solution Approach (Apress, 2006) and SQL Server 2000 Fast Answers for DBAs and Developers (Apress, 2005) , and the coauthor of Pro SQL Server. .. a simple CLR stored procedure, covering every step of the process and providing instructions for both Visual Studio 2005 and the command-line compiler xix 5661fm.qxd xx 12/2/05 3:34 PM Page xx sINTRODUCTION Chapter 3: The SQL Server NET Programming Model In this chapter, we introduce the new NET classes used to build SQL Server assemblies These include the SqlContext class, which provides information... data provider for SQL Server 2005 When a CLR stored procedure or function needs to access data in the database, it will do so via ADO.NET objects running in the SQL Server process space If you’re accessing SQL Server data via ADO.NET 2.0 from an external client (such as a VB NET client-side program), then you always have to create a connection to the data However, the in-process provider will always... objects needed to write SQL assemblies, we’ll look at a simple example for an overview of the whole process SQL Server 2005 supports assemblies that perform a number of different tasks within the database, and the process of writing these and creating the objects within SQL Server that we use to call the assembly can vary considerably However, certain concepts apply to SQL assemblies in general, and... if you’ve “forced” T -SQL into situations for which it wasn’t designed, then you may gain performance benefit from switching such T -SQL objects to assemblies Migrating Extended Stored Procedures Probably the most commonly heard exclamation of relief upon the announcement of CLR integration with SQL Server 2005 was “No more extended stored procedures!” Migrating extended sprocs is probably the lowest-hanging... explore how to use them in SQL assemblies Chapter 11: Integrating Assemblies with Other Technologies In this final chapter, we examine a couple of different applications of SQL assemblies First, we look at integrating SQL assemblies and XML web services, and show how to access a web service from within a SQL assembly Then we cover how to use assemblies with a completely new SQL Server technology: the Service... more than one SQL Server instance on a physical server, for example When CLR objects require memory, the space is requested from the SQL Server operating system (SQLOS) virtualization layer rather than directly from the operating system This means that a CLR process’s memory utilization cannot exceed the configured maximum for the SQL Server service It is important to remember that SQL Server hosts—and... following topics: • Understanding the basic steps involved in SQL assembly creation • Writing and compiling NET code • Registering the assembly with SQL Server • Creating a stored procedure • Examining SQL Server projects in Visual Studio SQL Assembly Creation Overview Four steps are involved in creating a SQL assembly and preparing it for use within SQL Server: 1 Write the NET code for the assembly 2 Compile... Introducing Assemblies S QL Server 2005 sees the integration of the common language runtime (CLR) and NET technology into the SQL Server database engine No longer is a developer or database administrator restricted to using only Transact -SQL (T -SQL) when working with data inside the database This chapter covers the following topics: • Examining how data manipulation was performed prior to SQL Server 2005. .. build code that can safely run not only on the same server as SQL Server, but also within SQL Server This code is made up of assemblies, which are compiled sets of code modules written using any NET-compatible language (although only C# and VB NET are officially supported) .NET integration can be used to build upon the foundation of SQL Server 2005 and to provide enhanced data types, functions, and aggregations . author of SQL Server 2005 T -SQL Recipes: A Problem–Solution Approach (Apress, 2006) and SQL Server 2000 Fast Answers for DBAs and Developers (Apress, 2005) , and the coauthor of Pro SQL Server 2005. x0 y0 w0 h0" alt="" Robin Dewson and Julian Skinner Pro SQL Server 2005 Assemblies 5661fm.qxd 12/2/05 3:34 PM Page i Pro SQL Server 2005 Assemblies Copyright © 2006 by Robin Dewson and Julian. is a Microsoft Most Valuable Professional (MVP) for SQL Server and a Microsoft Certified Professional (MCP). Adam is the coauthor of Pro SQL Server 2005 (Apress 2005) . Adam contributed additional

Ngày đăng: 06/07/2014, 15:22

Từ khóa liên quan

Mục lục

  • Pro SQL Server 2005 Assemblies

    • Table of Content

    • Chapter 1 Introducing Assemblies

    • Chapter 2 Writing a Simple SQL Assembly

    • Chapter 3 The SQL Server .NET Programming Model

    • Chapter 4 CLR Stored Procedures

    • Chapter 5 User-Defined Functions

    • Chapter 6 User-Defined Types

    • Chapter 7 User-Defined Aggregates

    • Chapter 8 CLR Triggers

    • Chapter 9 Error Handling and Debugging Strategies

    • Chapter 10 Security

    • Chapter 11 Integrating Assemblies with Other Technologies

    • Index

Tài liệu cùng người dùng

Tài liệu liên quan