- Full Description
Discussing new and existing features, SQL Server designer and administrator Michael Coles takes you on an expert guided tour of TransactSQL functionality in SQL Server 2008 in his book, Pro TSQL 2008 Programmers Guide. Fully functioning examples and downloadable source code bring Coles technically accurate and engaging treatment of TransactSQL into your own hands. Stepbystep explanations ensure clarity, and an advocacy of bestpractices will steer you down the road to success.
Pro TSQL 2008 Programmers Guide is every developers key to making full use of SQL Server 2008s powerful, builtin TransactSQL language. TransactSQL is the language developers and DBAs use to interact with SQL Server. Its used for everything from querying data, to writing stored procedures, to managing the database. New features in SQL Server 2008 include a spatial data type, SQLCLR integration, the MERGE statement, a dramatically improved and marketleading XML feature set, and support for encryptionall of which are covered in this book
What youll learn
- Write stored procedures, functions, and triggers using TransactSQL
- Apply bestpractices when centralizing procedural logic inside your SQL Server database
- Seamlessly work with XML data using XQuery, XPath, and the XML type
- Use SQLCLR to write .NET code that runs inside SQL Server
- Implement fulltext search within your database
- Load data more efficiently using the MERGE statement
- Learn about the new geography type for storing spatial data
Who this book is for
Pro TSQL 2008 Programmers Guide is written for SQL Server and TransactSQL developers who want to implement bestpractices and take full advantage of all that SQL Server has to offer. .NET programmers will find the book helpful in showing how to run .NET code within SQL Server. Database administrators who need to write triggers and the occasional stored procedure will also benefit from the book.
- Source Code/Downloads
If you think that you've found an error in this book, please let us know by emailing to email@example.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.On page 27:Listing 2-5
The following error appears when running the code:
Msg 102, Level 15, State 1, Line 43
Incorrect syntax near 'TARGET'.
Code producing this error is WHEN TARGET NOT MATCHED THEN
Books Online state that syntax should be WHEN NOT MATCHED BY TARGET.
Query runs correctly when syntax changed to this.