Microsoft SQL server 2005 programming for dummies apr 2007

435 163 0
Microsoft SQL server 2005 programming for dummies apr 2007

Đ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

.. .Microsoft ™ SQL Server 2005 Programming FOR DUMmIES by Andrew Watt ‰ Microsoft ™ SQL Server 2005 Programming FOR DUMmIES by Andrew Watt ‰ Microsoft SQL Server 2005 Programming For Dummies ... can probably find an edition of SQL Server 2005 that allows you to create the application that you want About SQL Server 2005 Programming For Dummies SQL Server 2005 is an immensely powerful and... out how to use SQL Server Management Studio to create TransactSQL code, go to Chapter SQL Server 2005 Programming For Dummies To discover how to retrieve data from SQL Server 2005, go to Chapter

Ngày đăng: 12/07/2018, 14:33

Mục lục

  • Microsoft SQL Server 2005 Programming For Dummies

    • About the Author

    • Dedication

    • Author’s Acknowledgments

    • Contents at a Glance

    • Table of Contents

    • Introduction

      • About SQL Server 2005 Programming For Dummies

      • Foolish Assumptions

      • Conventions Used in This Book

      • 2

      • What You Don’t Have to Read

      • How This Book Is Organized

      • 3

      • 4

      • Icons Used in This Book

      • Where to Go from Here

      • 5

      • 6

    • Part I: Get Started Using the SQL Server 2005 Development Environment

      • Chapter 1: The Joy of SQL Server 2005 Programming

        • Deciding Which Version of SQL Server 2005 to Use

        • Gathering and Manipulating Data

        • Enforcing Business Rules for Your Database

        • Ensuring SQL Server Security

        • When Transact-SQL Isn’t Enough

      • Chapter 2: Understanding Database Fundamentals

        • Getting to Know the Database Engine

        • Discovering Database Objects

        • Introducing SQL Server Data Types

        • Getting Familiar with SQL Server Naming Rules

        • Talking Transact-SQL

      • Chapter 3: Getting to Know the SQL Server Toolset

        • Exploring SQL Server Management Studio

        • Using the SQLCMD Utility

        • Getting to Know the SQL Server Configuration Manager

        • Using Other SQL Server Programming Tools

        • Accessing SQL Server Books Online (BOL)

        • Installing the SQL Server Sample Databases

    • Part II: Retrieving Data Using Transact-SQL

      • Chapter 4: Retrieving Data Using the SELECT Statement

        • Exploring Your Database’s Objects

        • Introducing the SELECT Statement

        • Using the FROM Clause

        • The WHERE Clause

        • The ORDER BY Clause

        • The GROUP BY Clause

      • Chapter 5: Creating Joins

        • Understanding the Need for Joins

        • Creating an Inner Join

        • Creating an Outer Join

        • Creating a Cross Join

      • Chapter 6: Creating Advanced Queries

        • Using Subqueries

        • Examining the EXISTS Keyword

        • Using the CAST and CONVERT Functions

        • Working with Common Table Expressions

      • Chapter 7: Manipulating Data

        • Copying a Database

        • Adding Data Using INSERT

        • Removing Data Using DELETE

        • Changing Data Using UPDATE

        • Transactional Control

    • Part III: Creating Databases and Database Objects with Transact-SQL

      • Chapter 8: Designing, Creating, and Altering Database Objects

        • Examining the Key Phases to Designing a Database

        • Normalizing Data

        • Designing Relationships

        • Creating Databases

        • Altering Databases

        • Dropping Databases

      • Chapter 9: Designing, Creating, and Changing Tables

        • Choosing a Naming Scheme for Tables and Columns

        • Choosing Data Types for Columns

        • The CREATE TABLE statement

        • Creating Relationships Using Transact-SQL

        • Creating Tables Using SQL Server Management Studio

        • The ALTER TABLE Statement

      • Chapter 10: Applying Constraints

        • Understanding the Types of Constraints

        • Creating NOT NULL Constraints

        • Creating DEFAULT Constraints

        • Creating UNIQUE Constraints

        • Creating CHECK Constraints

        • Removing Constraints

        • Using Advanced Constraints

      • Chapter 11: Creating Views

        • What Is a View?

        • Understanding the Need for Views

        • Creating a View

        • Using Views for Security

        • Updating through Views

        • Indexing a View

      • Chapter 12: Using Stored Procedures

        • Getting to Know Stored Procedures

        • Why Use Stored Procedures?

        • Creating a Stored Procedure

        • Using ALTER to Change a Stored Procedure

        • Using Parameters with Stored Procedures

      • Chapter 13: Using Triggers

        • Using Events That Execute Triggers

        • Understanding Where and When to Use Triggers

        • Using AFTER Triggers

        • Using INSTEAD OF Triggers

        • Using DDL Triggers

        • Debugging Triggers

      • Chapter 14: Creating Functions

        • What Is a Transact-SQL Function?

        • Creating User-Defined Functions

        • Altering and Dropping Functions

        • Using System Functions

      • Chapter 15: Creating Indexes

        • Getting a Handle on Why You Might Need Indexes

        • Considering the Types of Indexes

        • Creating an Index

        • Altering an Index

        • Dropping an Index

      • Chapter 16: Handling Errors Using TRY...CATCH

        • Error Handling in Transact-SQL

        • Using the @@ERROR Function

        • Using RAISERROR

        • Using TRY...CATCH

        • Nesting TRY...CATCH Statements

    • Part IV: Programming SQL Server Security

      • Chapter 17: Adding Logins and Users

        • Introducing SQL Server 2005 Security

        • Understanding Logins and Users

        • Adding Logins

        • Understanding Schemas and Users

        • Using Schemas

        • Adding Users

      • Chapter 18: Creating Database-Level Security

        • Assigning Permissions on Database Objects

        • Using Roles

        • Using Application Roles

        • Using Security Functions

      • Chapter 19: Securing Data Using Encryption

        • Introducing Encryption

        • Working with Asymmetric and Symmetric Encryption

        • Using Certificates

        • Encrypting Data

    • Part V: Beyond Transact-SQL Programming

      • Chapter 20: Working with XML

        • XML in SQL Server 2005

        • Using Typed and Untyped XML

        • Querying XML Data

        • DML on XML data

        • Indexing XML

        • Exposing Relational Data as XML

      • Chapter 21: Working with the Common Language Runtime

        • Introducing the CLR

        • Understanding CLR Permissions

        • Configuring SQL Server for the CLR

        • Creating an Assembly

      • Chapter 22: Using Visual Studio 2005

        • Using Server Explorer

        • Using the Visual Designers

        • Using Solution Explorer

        • Creating a Project

      • Chapter 23: Working with SQL Server Management Objects

        • Getting Started with SQL-SMO

        • Discovering the SQL-SMO Object Model

        • Creating a SQL-SMO Program

    • Part VI: The Part of Tens

      • Chapter 24: Ten Tips to Program Like a Pro

        • Listen to Your Clients’ Needs

        • Document the Project

        • Budget Enough Time for the Project

        • Think about Long-Term Needs

        • Think Carefully about Relations in the Database

        • Handle Many-to-Many Relationships Appropriately

        • Think about Performance

        • Design and Test on Development Hardware

        • Test Your Application Carefully

        • Think about Which Edition of SQL Server to Use

        • Think about the Hardware You Need

      • Chapter 25: Ten Sources for More Information on SQL Server 2005

        • Books Online

        • The Public Newsgroups

        • The Public Fora

        • The SQL Server 2005 Web Site

        • The SQL Server Developer Center

        • The SQL Server 2005 TechCenter

        • The Business Intelligence Site

        • The Integration Services Developer Center

        • The Reporting Services Web Site

        • Channel 9

        • Other Web Sites

    • Index

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

  • Đang cập nhật ...

Tài liệu liên quan