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

Mssql-scripter tool


Microsoft is pushing really hard to fill in the gaps in the world of Linux regarding SQL Server on Linux. In the Windows environment, it has it all, from the official application over third-party and other commercial, non-commercial, and open source tools.

In this phase of development, CTP 1.3 - RC1, Microsoft started two open source projects on GitHub to help the Linux community become quicker and more productive using SQL Server on Linux. One of them is mssql-scripter (https://github.com/Microsoft/sql-xplat-cli)

It is a cross-platform, command-line interface with the purpose of generating DDL and DML scripts. If you are dealing with databases, then you will appreciate this quite impressive tool. With a simple command, you can export schema from your database, for example, AdventureWorks, and recreate it on the other server. Also, it is easy to script all the database data and insert it into a new environment. We can say that mssql-scripter can be used even in the ETL...