Learn T-SQL Querying
上QQ阅读APP看书,第一时间看更新

Download the example code files

You can download the example code files for this book from your account at www.packt.com. If you purchased this book elsewhere, you can visit www.packt.com/support and register to have the files emailed directly to you.

You can download the code files by following these steps:

  1. Log in or register at www.packt.com.
  2. Select the SUPPORT tab.
  3. Click on Code Downloads & Errata.
  4. Enter the name of the book in the Search box and follow the onscreen instructions.

Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:

  • WinRAR/7-Zip for Windows
  • Zipeg/iZip/UnRarX for Mac
  • 7-Zip/PeaZip for Linux

The code bundle for the book is also hosted on GitHub at https://github.com/PacktPublishing/Learn-T-SQL-QueryingIn case there's an update to the code, it will be updated on the existing GitHub repository.

The examples used throughout the book are designed for use on SQL Server 2017 and SQL Server 2019, but they should work on any version of SQL Server, 2012 or later. The Developer Edition of SQL Server is free for development environments and can be used to run all the code samples.

The sample databases AdventureWorks2016_EXT (referred to as AdventureWorks) and AdventureWorksDW2016_EXT (referred to as AdventureWorksDW) were both used for various scripts, and can be found on GitHub at https://github.com/Microsoft/sql-server-samples/releases/tag/adventureworks.

Some tools used in the book are not available with SQL Server. RML Utilities can be found at https://www.microsoft.com/download/details.aspx?id=4511, and Pssdiag/Sqldiag Manager can be found on GitHub at https://github.com/Microsoft/DiagManager.

We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!