Microsoft Transact-SQL: the Definitive Guide

Author: Jeffrey Garbus

Publisher: Jones & Bartlett Publishers

ISBN: 1449604021

Category: Computers

Page: 516

View: 2367


According to industry studies, 70-80% of database performance problems are caused by poorly written transact-SQL code. Microsoft Transact-SQL: The Definitive Guide is a comprehensive guide to the T-SQL language written for the MS SQL Server 2008 developer having performance problems with SQL. The text includes case studies and examples demonstrating how to write or rewrite T-SQL source code. Some Topics covered include several ways of writing code for optimal performance and maintainability such as stored procedures versus dynamic SQL as well as subqueries versus joins; advanced SQL programming techniques including characteristic functions, common table expressions, refactoring, cubes, and dynamic queries; methods for identifying and fixing poorly written code including Profiler, DMVs, third-party tools, and reading query plans.

Learn T-SQL Querying

A guide to developing efficient and elegant T-SQL code

Author: Pedro Lopes,Pam Lahoud

Publisher: Packt Publishing Ltd

ISBN: 178934297X

Category: Computers

Page: 484

View: 7732


Troubleshoot query performance issues, identify anti-patterns in code, and write efficient T-SQL queries Key Features Discover T-SQL functionalities and services that help you interact with relational databases Understand the roles, tasks and responsibilities of a T-SQL developer Explore solutions for carrying out database querying tasks, database administration, and troubleshooting Book Description Transact-SQL (T-SQL) is Microsoft's proprietary extension to the SQL language that is used with Microsoft SQL Server and Azure SQL Database. This book will be a useful guide to learning the art of writing efficient T-SQL code in modern SQL Server versions, as well as the Azure SQL Database. The book will get you started with query processing fundamentals to help you write powerful, performant T-SQL queries. You will then focus on query execution plans and learn how to leverage them for troubleshooting. In the later chapters, you will learn how to identify various T-SQL patterns and anti-patterns. This will help you analyze execution plans to gain insights into current performance, and determine whether or not a query is scalable. You will also learn to build diagnostic queries using dynamic management views (DMVs) and dynamic management functions (DMFs) to address various challenges in T-SQL execution. Next, you will study how to leverage the built-in tools of SQL Server to shorten the time taken to address query performance and scalability issues. In the concluding chapters, the book will guide you through implementing various features, such as Extended Events, Query Store, and Query Tuning Assistant using hands-on examples. By the end of this book, you will have the skills to determine query performance bottlenecks, avoid pitfalls, and discover the anti-patterns in use. Foreword by Conor Cunningham, Partner Architect – SQL Server and Azure SQL – Microsoft What you will learn Use Query Store to understand and easily change query performance Recognize and eliminate bottlenecks that lead to slow performance Deploy quick fixes and long-term solutions to improve query performance Implement best practices to minimize performance risk using T-SQL Achieve optimal performance by ensuring careful query and index design Use the latest performance optimization features in SQL Server 2017 and SQL Server 2019 Protect query performance during upgrades to newer versions of SQL Server Who this book is for This book is for database administrators, database developers, data analysts, data scientists, and T-SQL practitioners who want to get started with writing T-SQL code and troubleshooting query performance issues, through the help of practical examples. Previous knowledge of T-SQL querying is not required to get started on this book.

The Guru's Guide to Transact-SQL

Author: Ken Henderson

Publisher: Addison-Wesley Professional

ISBN: 9780201615760

Category: Computers

Page: 551

View: 8809


Demonstrates important concepts and offers working Transact-SQL code, covering data filtering, DDL, DML, statistical functions, runs and sequences, transactions, stored procedures and triggers, and performance tuning.

Microsoft SQL Server 2012 A Beginners Guide 5/E

Author: Dusan Petkovic

Publisher: McGraw Hill Professional

ISBN: 0071761608

Category: Computers

Page: 832

View: 1218


Essential Microsoft SQL Server 2012 Skills Made Easy Get up and running on Microsoft SQL Server 2012 in no time with help from this thoroughly revised, practical resource. Filled with real-world examples and hands-on exercises, Microsoft SQL Server 2012: A Beginner's Guide, Fifth Edition starts by explaining fundamental relational database system concepts. Then, you'll learn how to write Transact-SQL statements, execute simple and complex database queries, handle system administration and security, and use the powerful analysis, business intelligence, and reporting tools. XML, spatial data, and full-text search are also covered in this step-by-step tutorial. Install, configure, and customize SQL Server 2012 Create and modify database objects with Transact SQL statements Write stored procedures and user-defined functions Handle backup and recovery Automate administrative tasks Tune your database system for optimal performance, availability, and reliability Implement security measures using authentication, encryption, and authorization Work with SQL Server Analysis Services, SQL Server Reporting Services, and other business intelligence tools Store, display, and query XML documents Manage spatial data Query documents using MS Full-Text Search (FTS)

The Definitive Guide to DAX

Business intelligence for Microsoft Power BI, SQL Server Analysis Services, and Excel

Author: Marco Russo,Alberto Ferrari

Publisher: Microsoft Press

ISBN: 0134865871

Category: Computers

Page: N.A

View: 7021


Now expanded and updated with modern best practices, this is the most complete guide to Microsoft’s DAX language for business intelligence, data modeling, and analytics. Expert Microsoft BI consultants Marco Russo and Alberto Ferrari help you master everything from table functions through advanced code and model optimization. You’ll learn exactly what happens under the hood when you run a DAX expression, and use this knowledge to write fast, robust code. This edition focuses on examples you can build and run with the free Power BI Desktop, and helps you make the most of the powerful syntax of variables (VAR) in Power BI, Excel, or Analysis Services. Want to leverage all of DAX’s remarkable capabilities? This no-compromise “deep dive” is exactly what you need. Perform powerful data analysis with DAX for Power BI, SQL Server, and Excel · Master core DAX concepts, including calculated columns, measures, and calculation groups · Work efficiently with basic and advanced table functions · Understand evaluation contexts and the CALCULATE and CALCULATETABLE functions · Perform time-based calculations · Use calculation groups and calculation items · Use syntax of variables (VAR) to write more readable, maintainable code · Express diverse and unusual relationships with DAX, including many-to-many relationships and bidirectional filters · Master advanced optimization techniques, and improve performance in aggregations · Optimize data models to achieve better compression · Measure DAX query performance with DAX Studio and learn how to optimize your DAX

Learn Microsoft SQL Server Intuitively

Transact-SQL: The Solid Basics

Author: N.A

Publisher: Peter Lalovsky

ISBN: 099524510X


Page: 287

View: 5286


Learn Microsoft® SQL Server® Intuitively is a complete, hands-on and practical guide to everything you will ever need to know about the basics of Microsoft® SQL Server® relational database management systems. From the basics, ideal for beginners with their own PC, to more complex ideas for big business, Learn Microsoft® SQL Server® Intuitively teaches you one step at a time, in an easy-to-follow and simple format, written in a language that you will understand. The wide ranging benefits and features of this book include: • A hands on approach • Fast and easy • Practical problem solving • Saves you time and money • Self-educating • Intuitive and visual • Tutorials and in-depth explanations • And much more... Learn Microsoft® SQL Server® Intuitively is the only book you will ever need to help you navigate these complex processes. Due to its unique visual approach you will find it easier than ever to completely understand the database programming and how it can work better for you. Get your copy of Learn Microsoft® SQL Server® Intuitively now and make the most out of your home PC or business.

Transact-SQL Programming

Covers Microsoft SQL Server 6.5 /7.0 and Sybase Adaptive Server 11.5

Author: Kevin Kline,Lee Gould,Andrew Zanevsky

Publisher: "O'Reilly Media, Inc."

ISBN: 9781565924017

Category: Computers

Page: 807

View: 6451


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

The SQL Server 7.0 Handbook

A Guide to Microsoft Database Computing

Author: Ken England,Nigel Stanley

Publisher: Digital Press

ISBN: 9781555582012

Category: Computers

Page: 451

View: 3540


This concise and authoritative handbook explains how to implement, administer, design and tune Microsoft's leading data base, and how to use it with other data management technologies and products.

The Definitive Guide to the Microsoft Enterprise Library

Author: Keenan Newton

Publisher: Apress

ISBN: 1430203153

Category: Computers

Page: 498

View: 7004


This book introduces one of the most exciting and popular .NET-oriented initiatives; the Enterprise Application Library, which offers nine classes of reusable code used to solve a variety of common problem spaces. It is the first book to introduce all ten of the enterprise application blocks, which have been recently updated for .NET 2.0. It covers a number of topics, including configuration, data access, exception management, caching, application updates, UI separation, asynchronous invocation, logging, security, and XML-based information aggregation. With this book readers will be able to build .NET applications faster and more efficiently.

Cassandra: The Definitive Guide

Distributed Data at Web Scale

Author: Jeff Carpenter,Eben Hewitt

Publisher: "O'Reilly Media, Inc."

ISBN: 1491933631

Category: Computers

Page: 370

View: 810


Imagine what you could do if scalability wasn't a problem. With this hands-on guide, you’ll learn how the Cassandra database management system handles hundreds of terabytes of data while remaining highly available across multiple data centers. This expanded second edition—updated for Cassandra 3.0—provides the technical details and practical examples you need to put this database to work in a production environment. Authors Jeff Carpenter and Eben Hewitt demonstrate the advantages of Cassandra’s non-relational design, with special attention to data modeling. If you’re a developer, DBA, or application architect looking to solve a database scaling issue or future-proof your application, this guide helps you harness Cassandra’s speed and flexibility. Understand Cassandra’s distributed and decentralized structure Use the Cassandra Query Language (CQL) and cqlsh—the CQL shell Create a working data model and compare it with an equivalent relational model Develop sample applications using client drivers for languages including Java, Python, and Node.js Explore cluster topology and learn how nodes exchange data Maintain a high level of performance in your cluster Deploy Cassandra on site, in the Cloud, or with Docker Integrate Cassandra with Spark, Hadoop, Elasticsearch, Solr, and Lucene