Code Centric: T-SQL Programming with Stored Procedures and Triggers


Book Description

If you want to learn how to write stored procedures and triggers for Microsoft SQL Server, Code Centric: T-SQL Programming with Stored Procedures and Triggers is the book for you. Youll learn real-world coding and how to build non-trivial applications. All of the examples covered in the book are available for download, making it easier to work through over 5,000 lines of sample code. While there is extensive coverage of the new functionality in SQL Server 2000—such as UDFs (user-defined functions)—you can use this book effectively for virtually any version of SQL Server6.x, 7.0, or 2000.







The Guru's Guide to Transact-SQL


Book Description

A book/CD-ROM guide to mastering Microsoft Transact-SQL and developing the best possible code. Some 600 code examples not only illustrate important concepts and best practices, but also provide working Transact-SQL code that can be incorporated into real-world DBMS applications. Begins by explaining language fundamentals such as database and table creation, then moves on to advanced topics such as OLE automation. The CD-ROM contains a set of code examples from the book plus a SQL programming environment. Henderson is a nationally recognized consultant and leading DBMS practitioner. Annotation copyrighted by Book News, Inc., Portland, OR




Database Programming with C#


Book Description

Non-VB programmers are shown how they can have the same database ease that Visual Basic programmers have: step-by-step coverage of data access in Visual Studio .NET, with example code in C#.




SQL Server 2000


Book Description

This book is an A-Z guide to building and using stored procedures in SQL Server applications. With this book, developers can custom design stored procedures to write high-performance SQL Server applications that effectively can be maintained and scaled. They also will learn to administer SQL Server environments using Microsoft's system stored procedures. 20 line illustrations.




Transact-SQL Programming


Book Description

Provides detailed information about Transact-SQL programming and shows specific differences between the Microsoft and Sybase versions of the language.




Programming Oracle Triggers and Stored Procedures


Book Description

Complete tutorial for database developers!Thorough coverage of PL/SQLPractical "cookbook" techniques Effectively create and manage complex databases with Oracle! Systems and database expert Kevin Owens explores PL/SQL, Oracle's answer to the Structured Query Language (SQL), and teaches you what you need to know to build robust and complex databases for your business. Using easy-to-follow instructions and examples, this book presents techniques to take advantage of Oracle features such as triggers and stored procedures-features that allow your databases to incorporate business rules which are easy to manage and modify as the business evolves. Topics covered include: Viewing constraints in the data dictionaryComplex rule enforcementPL/SQL program units and language featuresData types and composite structureError handling and exceptionsInter-process communicationsDeclarative constraints, including primary key, unique, foreign key, check, and much more Programming Oracle Triggers and Stored Procedures, Third Edition, is an invaluable resource for database developers, designers, and project leaders looking to build and maintain truly intelligent, complex databases




Microsoft SQL Server 2005 Stored Procedure Programming in T-SQL & .NET


Book Description

Create and Use Stored Procedures for Optimal Database Performance Develop complex stored procedures to retrieve, manipulate, update, and delete data. Microsoft SQL Server 2005 Stored Procedure Programming in T-SQL & .NET identifies and describes the key concepts, techniques, and best practices you need to master in order to take full advantage of stored procedures using SQL Server's native Transact-SQL and .NET CLR languages. You'll learn to incorporate effective Transact-SQL stored procedures into client or middleware code, and produce CLR methods that will be compiled into CLR stored procedures. This is a must-have resource for all SQL Server 2005 developers. Essential Skills for Database Professionals Group and execute T-SQL statements using batches, scripts, and transactions Create user-defined, system, extended, temporary, global temporary, and remote stored procedures Develop and manage stored procedures using C# and Visual Basic .NET Implement database access using ADO.NET Create CLR user-defined functions and triggers Implement reliable debugging and error handling techniques and security measures Manage source code in a repository such as Visual SourceSafe Create stored procedures for web search engines Use system and extended stored procedures to interact with the SQL Server environment




Transact-SQL Programming


Book Description

Transact-SQL is a procedural language used on both Microsoft SQL Server and Sybase SQL Server systems. It is a full-featured programming language that dramatically extends the power of SQL (Structured Query Language).The language provides programmers with a broad range of features, including: A rich set of datatypes, including specialized types for identifiers, timestamps, images, and long text fieldsLocal and global variablesFully programmable server objects like views, triggers, stored procedures, and batch command filesConditional processingException and error handlingFull transaction controlSystem stored procedures that reduce the complexity of many operations, like adding users or automatically generating HTML Web pagesIn recent years, the versions of Transact-SQL have diverged on Microsoft and Sybase systems; the book explains the differences. It also contains up-to-the-minute information on the latest versions: Microsoft SQL Server versions 6.5 and 7.0 and Sybase version 11.5.A brief table of contents follows: PART I: The Basics: Programming in Transact-SQL1. Introduction to Transact-SQL2. Matching Business Rules3. SQL Primer4. Transact-SQL Fundamentals5. Format and StylePART II: The Building Blocks: Transact-SQL Language Elements6. Datatypes and Variables7. Conditional Processing8. Row Processing with Cursors9. Error Handling10. Temporary Objects11. Transactions and LoggingPART III: Functions and Extensions12. Functions13. CASE Expressions and Transact-SQL ExtensionsPART IV: Programming Transact-SQL Objects14. Stored Procedures and Modular Design15. Triggers16. Views17. System and Extended Stored Procedures and BCPPART V: Performance Tuning and Optimization18. Transact-SQL Code Design19. Code Maintenance in the SQL Server20. Transact-SQL Optimization and Tuning21. Debugging Transact-SQL ProgramsPART VI: AppendixesA. System TablesB. What's New for Transact-SQL in Microsoft SQL Server 7.0? C. BCPThe book comes with a CD-ROM containing an extensive set of examples from the book and complete programs that illustrate the power of the language.




CIL Programming


Book Description

Most .NET developers will use a high-level language, such as C# or VB .NET, to develop their systems. However, the core language of .NET is the Common Intermediate Language, or CIL. This language is the language of .NET-whatever is allowed by the .NET specifications can be done in CIL, and it can do much that C# and VB .NET cannot. Understanding how the CIL works will give .NET developers a deep, language-independent insight into the core parts of .NET. Furthermore, such knowledge is essential for creating dynamic types, a powerful part of the .NET Framework. In this book, Bock covers the essentials of programming the CIL. First, he discusses the basics of what .NET: assemblies are, how manifests fit into the picture, and much more. Bock then shows how to create assemblies in .NET-this will cover the ilasm directives and CIL opcodes, and how these are used to define assemblies, classes, field, methods, and method definitions. Bock also covers how C# and VB .NET and other non-MS languages emit CIL and how they differ. Finally, Bock shows how one can create dynamic assemblies at runtime via the Emitter classes.