Synopses & Reviews
This comprehensive, hands-on reference offers an in-depth look at the advanced features of Transact-SQL (T-SQL), including detailed coverage of the new T-SQL programming features of SQL Server 2005. The book features extensive code samples and examples. Long Description SQL Server is programmable with a range of tools, but the language most familiar and favored for many database developers and administrators is Transact-SQL (T-SQL). This comprehensive, hands-on reference focuses on the advanced features of the language, including coverage of solutions to database-development issues in both SQL Server 2005 and 2005. In addition, new T-SQL programming features for SQL Server 2005 are discussed in detail. With pragmatic advice, best practices, extensive code samples, and table examples, developers and database administrators will find the guidance they need to better understand how to build powerful, efficient databases. SQL Server 2005 is Microsoft's next-generation data management and analysis solution that delivers enhanced security features, scalability, and availability to enterprise data and analytical applications while making them easier to create, deploy, and manage. Featuring key advances in enterprise data management, developer productivity, and business intelligence, SQL Server 2005 is part of the Microsoft Windows Server SystemTM--a comprehensive and integrated server infrastructure that simplifies the development, deployment, and operations of a flexible business solution.
Get a detailed look at the internal architecture of T-SQL with this comprehensive programming reference. Database developers and administrators get best practices, expert techniques, and code samples to master the intricacies of the programming language—solving complex problems with real-world solutions.
Discover how to:
- Understand when to apply set-based programming techniques
- Design and implement date and time-related XML and CLR datatypes
- Use temporary objects, including temporary tables, table variables, and table expressions
- Work with T-SQL and CLR user-defined functions, stored procedures, and triggers
- Support user input-based queries and variable data with dynamic execution
- Work with transactions and new exception handling constructs
- Apply a concurrency model to support simultaneous users
- Use Service Broker for controlled asynchronous processing in database applications
This book includes code samples on the Web.
About the Author
Dejan Sarka is MCT and MCDBA certified and a Microsoft® MVP for SQL Server®. He teaches and consults for Solid Quality Mentors, speaks at TechEd and PASS, and develops OLTP, OLAP, and data mining solutions.
Itzik Ben-Gan is a mentor and cofounder of Solid Quality Mentors. A Microsoft MVP for SQL Server since 1999, Ben-Gan teaches and consults internationally on T-SQL querying, programming, and query tuning. He is the coauthor of Inside Microsoft SQL Server: T-SQL Querying and Inside Microsoft SQL Server:T-SQL Programming. He has written numerous articles for SQL Server Magazine and MSDN®, and speaks at industry events such as Microsoft Tech*Ed, DevWeek, PASS, and SQL Server Connections.
Lubor Kollar is group program manager with the SQL Server Customer Advisory Team at Microsoft, working on the most challenging SQL Server deployments worldwide. He has 13+ years of experience with SQL Server development.
Table of Contents
ForewordPrefaceAcknowledgmentsIntroductionChapter 1: Datatype-Related Problems, XML, and CLR UDTsChapter 2: Temporary Tables and Table VariablesChapter 3: CursorsChapter 4: Dynamic SQLChapter 5: ViewsChapter 6: User-Defined FunctionsChapter 7: Stored ProceduresChapter 8: TriggersChapter 9: TransactionsChapter 10: Exception HandlingChapter 11: Service BrokerAppendix A: Companion to CLR RoutinesAppendix : About the Contributors