Beginning T-SQL

Price 34.99 - 85.43 USD

EAN/UPC/ISBN Code 9781484200476

Brand Apress


Producer Apress

Pages 496

Year of production 2014

Binding 195x240

Beginning T-SQL is a performance-oriented introduction to the T-SQL language underlying the Microsoft SQL Server database engine. T-SQL is essential in writing SQL statements to get data into and out of a database. T-SQL is the foundation for business logic embedded in the database in the form of stored procedures and functions. Beginning T-SQL starts you on the path to mastering T-SQL, with an emphasis on best-practices and sound coding techniques leading to excellent performance. This new edition is updated to cover the essential features of T-SQL found in SQL Server 2014, 2012, and 2008. Beginning T-SQL begins with an introduction to databases, normalization, and to SQL Server Management Studio. Attention is given to Azure SQL Database and how to connect to remote databases in the cloud. Each subsequent chapter teaches an aspect of T-SQL, building on the skills learned in previous chapters. Exercises in most chapters provide an opportunity for the hands-on practice that leads to true learning and distinguishes the competent professional. Important techniques such as windowing functions are covered to help write fast executing queries that solve real business problems.A stand-out feature in this book is that most chapters end with a "Thinking About Performance" section. These sections cover aspects of query performance relative to the content just presented. They"ll help you avoid beginner mistakes by knowing about and thinking about performance from Day 1.Imparts best practices for writing T-SQLHelps you avoid common errorsShows how to write scalable code for good performance What you’ll learnGrasp the fundamentals of relational theory, upon which T-SQL is basedWrite accurate queries that are scalable and perform wellCombine set-based and procedural processing, obtaining the best from both worldsEmbed business logic in your database through stored procedures and functionsSimplify your work with new and advanced features, such as common table expressions and windowing functionsEnhance performance by knowing when to apply features such as temporary tables, and when not toWho this book is for Beginning T-SQL is for developers and database administrators with little to no T-SQL experience who will be writing database applications and queries against SQL Server databases. Table of Contents1. Getting Started2. Exploring Database Concepts3. Writing Simple SELECT Queries4. Using Built-In Functions and Expressions5. Joining Tables6. Building on Subqueries and Unions7. Grouping and Summarizing Data8. Writing Window Functions9. Advanced WHERE Clauses10. Query Techniques11. Manipulating Data12. Managing Transactions13. Learning Procedural T-SQL14. Moving Logic to the Database15. Working with XML16. Working with Data Types17. Writing Advanced Queries18. Where to Next?