Easily manage SQL everywhere from anywhere with SQL tools 6/10/2018 11:56 AM BRK2216 Easily manage SQL everywhere from anywhere with SQL tools Eric Kang Senior Program Manager Kevin Cunnane Senior Software Engineer © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Agenda
Power of SQL Server on the platform of your choice Windows Linux Linux distributions including RedHat Enterprise Linux (RHEL), Ubuntu, and SUSE Enterprise Linux (SLES) Docker: Windows & Linux containers Windows Server / Windows 10 Package-based installation, yum install, app get, and more Linux/Windows container
Tools and programmability Microsoft Ignite 2016 6/10/2018 11:56 AM Tools and programmability Existing Windows-based SQL Server tools like SSMS, SSDT, Profiler, etc. work when connected to SQL Server on Linux and in Docker 3rd party tools continue to work All existing drivers and frameworks supported New Native command line tools: sqlcmd, bcp, sqlpackage New mssql extension for Visual Studio Code © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
SSMS import
Demo: SSMS Import file 6/10/2018 11:56 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Multi-OS Command Line Tools Primary Target customers = sysadmin DBA App-Dev Ecosystem Available on Linux, macOS, Windows Available on Linux PLANNED sqlcmd bcp mssql-scripter DBFS mssql-cmd Akin to psql & mysql Connect to SQL anywhere Run ad-hoc T-SQL View results Akin to pg_dump but for bulk data loading Bulk load/export data Akin to pg_dump & mysqldump Generate CREATE scripts for schema Generate INSERT scripts for data Save scripts as .sql files Pipe to native *nix tools Monitor live data from SQL Server DMVs as virtual files in a virtual directory “Next Gen” sqlcmd Get results as raw text, formatted CSV or JSON CLI 'tab completion' (T-SQL keywords, statements, tables, views, …) Platform-native piping with awk, sed, grep, jq, cut, JMESPath
6/10/2018 11:56 AM Demo: 1. Data sanitization with CLI tools in CI pipeline 2. Develop and test database in Visual Studio Code extension for SQL Server and Open Source test framework © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Roadmap New SQLCMD (planned) SSMS 17.3 SSDT & DACFx: DACFx Core (planned) Cross-platform DB admin GUI tool (planned)
DevOps using SQL Server Build an app using SQL Server Resources DevOps using SQL Server SQL Server 2017 https://www.microsoft.com/en-us/sql-server/sql-server-2017 DevOps using SQL Server: http://aka.ms/sqldevops Build an app using SQL Server http://aka.ms/sqldev SQL Server Blog https://blogs.technet.microsoft.com/dataplatforminsider SQL Server Documentation: https://docs.microsoft.com/en-us/sql/linux VS Code mssql extension: https://marketplace.visualstudio.com/items?itemName=ms-mssql.mssql mssql-tools (sqlcmd & bcp): https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-tools mssql-scripter: https://pypi.python.org/pypi/mssql-scripter Demo scripts (github): https://github.com/sanagama/sql2017-data360 Build an app using SQL Server Get started with SQL Server on macOS, Linux, and Windows. sanagama@microsoft.com
Please evaluate this session Tech Ready 15 6/10/2018 Please evaluate this session From your Please expand notes window at bottom of slide and read. Then Delete this text box. PC or tablet: visit MyIgnite https://myignite.microsoft.com/evaluations Phone: download and use the Microsoft Ignite mobile app https://aka.ms/ignite.mobileapp Your input is important! © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
6/10/2018 11:56 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.