Professional SQL Server 2005 CLR Programming: with Stored Procedures, Functions, Triggers, Aggregates and Types (Paperback)
暫譯: 專業 SQL Server 2005 CLR 程式設計:包含儲存過程、函數、觸發器、聚合和類型 (平裝本)

Derek Comingore, Douglas Hinson

  • 出版商: Wrox Press
  • 出版日期: 2006-12-11
  • 售價: $1,920
  • 貴賓價: 9.5$1,824
  • 語言: 英文
  • 頁數: 432
  • 裝訂: Paperback
  • ISBN: 0470054034
  • ISBN-13: 9780470054031
  • 相關分類: MSSQLR 語言SQL
  • 已過版

買這商品的人也買了...

商品描述

Description

SQL Server 2005 offers the capability to write code in a .NET language that can be compiled and run inside SQL Server. CLR Integration, or SQL CLR, lets you create stored procedures, user-defined types, triggers, table valued functions, and aggregates using a .NET managed language. You can read and write to resources outside of SQL Server and enjoy a tighter integration with XML, web services, and simple file and logging capabilities.

Here's the reference you'll want on your desk as you develop SQL CLR solutions. It helps you decide whether to use SQL CLR, how to lock down security, and learn from real examples. If you want to develop stored procedures or other objects in .NET for SQL Server 2005, this book offers exactly what you need.

What you will learn from this book

  • The concepts and architecture of SQL CLR
  • Uses of .NET namespaces in SQL Server programming tasks
  • How to develop and benchmark routines in T-SQL and .NET to determine when CLR-based solutions are advantageous
  • How to replace extended stored procedures using SQL CLR stored procedures
  • How to use SQL CLR objects in external applications
  • How to restrict and secure SQL CLR object capabilities
  • Processes and procedures for deploying SQL CLR objects

Who this book is for

This book is for developers and architects who are familiar with .NET concepts as well as DBAs who, although developers in their own right, may be slightly less up to date on .NET. A solid grounding in T-SQL is necessary.

Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.

 

Table of Contents

Acknowledgments.

Introduction.

Chapter 1: Introducing SQL CLR.

Chapter 2: Your First CLR Stored Procedure.

Chapter 3: SQL CLR Structure and Common Tasks.

Chapter 4: Creating SQL CLR Objects.

Chapter 5: Comparing T-SQL with Managed Code.

Chapter 6: Replacing Extended Stored Procedures, Functions, and Other T-SQL Objects.

Chapter 7: The .NET Framework's Base Class Library.

Chapter 8: Using SQL CLR Stored Procedures in Your Applications.

Chapter 9: Handling Errors in CLR Stored Procedures.

Chapter 10: CLR Administration and Security.

Chapter 11: Case Study.

Index.

商品描述(中文翻譯)

**描述**
SQL Server 2005 提供了在 .NET 語言中編寫代碼的能力,這些代碼可以在 SQL Server 內部編譯和運行。CLR 整合,或稱 SQL CLR,讓您可以使用 .NET 管理語言創建儲存過程、使用者定義類型、觸發器、表值函數和聚合。您可以讀取和寫入 SQL Server 之外的資源,並享受與 XML、網路服務以及簡單檔案和日誌功能的更緊密整合。

這本書是您在開發 SQL CLR 解決方案時所需的參考資料。它幫助您決定是否使用 SQL CLR,如何鎖定安全性,並從實際範例中學習。如果您想在 SQL Server 2005 中為 .NET 開發儲存過程或其他物件,這本書提供了您所需的所有資訊。

**您將從本書中學到的內容**
- SQL CLR 的概念和架構
- 在 SQL Server 程式設計任務中使用 .NET 命名空間
- 如何在 T-SQL 和 .NET 中開發和基準測試例程,以確定何時 CLR 基礎的解決方案是有利的
- 如何使用 SQL CLR 儲存過程替換擴展儲存過程
- 如何在外部應用程式中使用 SQL CLR 物件
- 如何限制和保護 SQL CLR 物件的能力
- 部署 SQL CLR 物件的過程和程序

**本書適合誰閱讀**
本書適合熟悉 .NET 概念的開發人員和架構師,以及雖然是開發人員但對 .NET 可能稍微不太熟悉的資料庫管理員 (DBA)。需要具備扎實的 T-SQL 基礎。

**Wrox 專業指南** 是由現職程式設計師規劃和撰寫的,旨在滿足程式設計師、開發人員和 IT 專業人員的實際需求。這些指南專注且相關,針對技術專業人員每天面臨的問題提供解決方案。它們提供範例、實用解決方案和新技術的專家教育,旨在幫助程式設計師更好地完成工作。

**目錄**
致謝。
導言。
第 1 章:介紹 SQL CLR。
第 2 章:您的第一個 CLR 儲存過程。
第 3 章:SQL CLR 結構和常見任務。
第 4 章:創建 SQL CLR 物件。
第 5 章:比較 T-SQL 與管理代碼。
第 6 章:替換擴展儲存過程、函數和其他 T-SQL 物件。
第 7 章:.NET 框架的基本類別庫。
第 8 章:在您的應用程式中使用 SQL CLR 儲存過程。
第 9 章:在 CLR 儲存過程中處理錯誤。
第 10 章:CLR 管理和安全性。
第 11 章:案例研究。
索引。