Book Image

SQL Server on Linux

Book Image

SQL Server on Linux

Overview of this book

Microsoft's launch of SQL Server on Linux has made SQL Server a truly versatile platform across different operating systems and data-types, both on-premise and on-cloud. This book is your handy guide to setting up and implementing your SQL Server solution on the open source Linux platform. You will start by understanding how SQL Server can be installed on supported and unsupported Linux distributions. Then you will brush up your SQL Server skills by creating and querying database objects and implementing basic administration tasks to support business continuity, including security and performance optimization. This book will also take you beyond the basics and highlight some advanced topics such as in-memory OLTP and temporal tables. By the end of this book, you will be able to recognize and utilize the full potential of setting up an efficient SQL Server database solution in your Linux environment.
Table of Contents (19 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Working environments and tools


In Chapter 2, Installation and Configuration, we covered the installation procedure of SQL Server database engine and command-line tools. In this phase of development (CTP 1.3 - RC1) there is a limited number of tools to interact with SQL Server. But that will be changed in the near future. If this book was about the Windows platform, then content would likely be different, but this does not mean that we don't have quality tools to work with this database engine.

Here is a list of the most used currently supported tools on Linux and Windows platforms:

  • sqlcmd (Linux)
  • bpc (Linux)
  • Visual Studio Code (Linux)
  • SSMS (Windows)

sqlcmd

The command-line utility, sqlcmd, offers batch execution of T-SQL scripts and a simple utility for executing T-SQL statements. It will be our primary interaction interface with SQL Server database engine. If you want to connect to your SQL Server instance you will need to type sqlcmd and the following parameters: (-S server name, -U user name...