Problems displaying this newsletter? View online.
Database Weekly
The Complete Weekly Roundup of SQL Server News
Hand-picked content to sharpen your professional edge
Editorial
 

Azure Data Studio and Deployment Notebooks

Azure Data Studio (ADS) is a cross-platform tool that you can use to run T-SQL queries much as you have done using SQL Server Management Studio. No, the databases do not need to be hosted in Azure; the tool works fine for on-premises SQL Servers as well.

I’ve started using ADS more as I teach T-SQL to students who are not all running Windows. Still, I won’t convert over completely for now because not all the functionality found in SQL Server Management Studio is available in ADS. ADS is extensible, though, and Microsoft has also published information about creating extensions for enhanced functionality.

If you haven’t taken a look at ADS yet, you might want to take it for a spin because there are some cool features to discover. One of my favorites is SQL Server Notebooks. Based on Jupyter Notebooks, they are a way to combine documentation and code in one document. You run the code right inside the notebook! (Take a look at this article from Ed Pollack to get started.)

The T-SQL query results show up in a grid as you would expect, and you can send the notebook to a colleague with or without the results included. In addition to T-SQL, there are several other supported languages for the code blocks such as Python and PowerShell. They are useful for things like training, documentation, demonstrations, run books, troubleshooting guides, and more.

Even after working with ADS and the notebooks frequently in the past couple of months, I forgot about an exciting feature: automatic creation of a notebook for certain deployments.

To get to this feature, look for the ellipsis at the top of the Connections window. Clicking it brings up the New Deployment choice. At the time of this writing, there are three options in the dialog that appears: SQL Server on Windows, SQL Server container image, and SQL Server Big Data Cluster (BDC).

At least for now, the SQL Server on Windows choice just downloads and launches the installer. After that, it looks like you do a typical manual install. The other two choices first check for prerequisites. For example, you must have Docker running to use the SQL Server container image choice. After the prerequisites are in place, you answer a few questions and create the notebook.

Once you have the notebook, you can review it, maybe just learning about the commands needed or you can run it. I’ve only tried out the SQL Server container notebook, and I am happy to say that it worked! Once the code was done and the container was created, a link appeared that let me connect automatically to the instance. There were also commands at the bottom of the notebook to stop and remove the container. This is perfect for my future students, even if they are running Ubuntu or macOS.

I’m excited about this feature, and I can’t wait to see what else Microsoft has in store for ADS and SQL Server notebooks!

Kathi Kellenberger

Join the debate, and respond to the editorial on the forums

 
Redgate SQL Change Automation
The Weekly News
All the headlines and interesting SQL Server information that we've collected over the past week, and sometimes even a few repeats if we think they fit.
AI/Machine Learning/Cognitive Services

How Automation, AI, and Data Integration are Transforming the Pharmaceutical Industry

Click to learn more about author Joe Rymsza. Pharma companies are more challenged than ever to bring drugs to market safely and cost-effectively. Roadblocks to success include the ever-evolving...

Administration

Monitoring activities using sp_WhoIsActive in SQL Server

Database administrators (DBAs) are incessantly checking currently running operations over an SQL Server instance especially when the server is slowing down.

SQL SERVER – What do These Messages Mean – “I/O is Frozen on Database” and “I/O was Resumed on Database”?

  “I/O is frozen on database” and “I/O was resumed on database”? Did you check the air conditioner temperature? Let us learn about it in today's blog post. First appeared on...

Using sp_tableoption To Store LOB Data Off Row

Crazy That Medulla Oblongata

Troubleshoot SLEEP_TASK Wait Type

Jobs on a SQL server can take milliseconds or minu...

SQL Server 2019 Cumulative Update #3

SQL Server 2019 Cumulative Update #3 is available, with 56 enhancements. The build number is 15.0.4023.6. The post SQL Server 2019 Cumulative Update #3 appeared first on SQLPerformance.com.

Find Out Which Databases Have Multiple Files

This might be kind of basic but since I am working...

Azure SQL Database

Azure SQL DB – An instance-specific error occurred while establishing a connection to SQL Server.

The full message when connecting to your Azure SQL Database is: Reason: An instance-specific error occurred while establishing a connection to SQL Server. The public data endpoint on this... The...

Conferences, Classes, Events, and Webinars

Save the Dates for Redgate Streamed

We’ve got three days of online content coming your way from Redgate on Apr 1-3. There is a great lineup, and you can register for each day here: Wed,... The...

DMO/SMO/Powershell

Quickly execute a folder of SQL scripts using dbatools and PowerShell

I have often run into a situation where it’s bee...

Data Privacy, Compliance, and GDPR

Don’t Let Data Die in The Dark

Click to learn more about author Todd Forsythe. Who doesn’t have a drawer full of items they might need at some point, but haven’t used in months or even...

Data Science

Predict a random integer: The tradeoff between bias and variance

Books about statistics and machine learning often discuss the tradeoff between bias and variance for an estimator. These discussions are often motivated by a sophisticated predictive model such as...

DevOps and Continuous Delivery (CI/CD)

The Staging Phase of Deployment

Despite some humorous examples of deployments gone wrong, failures are not funny. William Brewer explains why staging is so important and how it can help avoid the types of...

ETL/SSIS/Azure Data Factory/Biml

Transforming JSON to CSV with the help of Flatten task in Azure Data Factory

(2020-Mar-19) Recently, Microsoft introduced a new Flatten task to the existing set of powerful transformations available in the Azure Data Factory (ADF) Mapping Data Flows - https://docs.microsoft.com/en-us/azure/data-factory/data-flow-flatten.What this new task does... The...

SSIS Package Execution Failure – When google fails you :(

We have all done it, get some sort of cryptic erro...

Using Azure Data Factory Mapping Data Flows to populate Data Vault - PASS Video

(2020-Mar-15) Video recording of my webinar sessi...

General

Tagging SQL Server Changes in SQL Monitor

How to use RAISERROR() in T-SQL to send annotations to SQL Monitor, so you can observe the direct impact of application tasks, or server changes, on the SQL Server metrics.

Using SQL Monitor Groups in PowerShell

Not only are SQL Monitor Groups probably the neatest and most maintainable way of ensuring that all your SQL Servers have the best possible configuration of alerts, but they represent a powerful way of categorizing your SQL Server estate. In this article, I'll show how to use the SQL Monitor PowerShell API to export these groups, save their settings onto a configuration management system, or compare groups of settings to see the differences between them.

Evaluating SQL Data Catalog using Docker Containers

Richard Macaskill shows how to use Docker Compose to get SQL Data Catalog up and running in a container, in your SQL Server test lab, and then use it to evaluate its data discovery and categorization capabilities on a containerized SQL Server instance.

Knowledge Sharing with SQL Notebooks

SQL Notebooks, based on Jupyter Notebooks, is one of the best things about Azure Data Studio. In this article, Edward Pollack explains how to get the most out of SQL Notebooks

Translating a SQL Server Schema into a Cassandra Table: Part II Integrity Constraints

Complex integrity constraints are more challenging to enforce in Cassandra than they are in a relational database. In this article, Shel Burkow walks through four modelling examples in Cassandra involving constraints.

Text Mining and Sentiment Analysis: Power BI Visualizations

Power BI is perfect for analyzing surveys. In this article, Sanil Mhatre demonstrates how to build several visualizations for key phrases sentiment analysis.

MDX/DAX

Learning some DAX

I’ve not done much BI work in my career, other t...

Microsoft News

Microsoft co-founder Bill Gates steps off Microsoft's board

Bill Gates has departed the Microsoft and Berkshire Hathaway boards to spend more time on his philanthropic work

Performance Tuning SQL Server

The Learner’s Guide to SQL Server Performance Triage

I’m introducing a series of “learner’s guide...

T-SQL Tuesday #124 – Query Store Summary

Happy St. Patrick’s Day (are you wearing something green)! For March I asked everyone to blog something related to Query Store, here is a summary of in alphabetical order of the blog posts

Free Fundamentals of Query Tuning Week: Part 1, Building a Query Plan

Well, that escalated quickly, huh? Just a few short months ago, we were all making plans about what we wanted to learn in 2020. We sketched out our goals,...

Extended Events: Live Data Explorer, Getting Started

One reason a lot of people don’t like Extended Events is because the output is in XML. Let’s face it, XML is a pain in the bottom. However, there...

Why Index Tuning Is An Iterative Process

Here And There For many people, index tuning means occasionally adding an index when there’s a report about a slow…

T-SQL Tuesday #124 – Query Store Summary

Happy St. Patrick’s Day (are you wearing something green)!  For March I asked everyone to blog something related to Query Store, here is a summary of in alphabetical order... The...

Polybase/HDInsight

SQL Server 2019 Bug: PolyBase and Windows Authentication

I wanted to throw out a blog post in case anybody runs into this bug. It started happening with SQL Server 2019 CU2 and I have confirmed that it...

PowerPivot/PowerQuery/PowerBI

Visualising Power BI Premium And Azure Analysis Services Query Parallelism

In my last post I showed how to connect SQL Server Profiler up to a Power BI Premium dataset but I didn’t give you any examples of why this might be useful. In this post I’ll show you how you can use a Profiler trace to visualise all the queries run by a Power BI report,

Power BI Desktop update and more… (Roundup | March 16, 2020)

Thanks for watching this week's Power BI news roun...

Professional Development

Suddenly working at home? We’ve done it for 22 years—and have advice

Your productivity, your health, and your sanity: W...

Working From Home…with Kids

Before I worked for SQLskills, I worked for a software company, Hyland Software.  One of the best things about working at Hyland was the Child Enrichment Center (CEC).  It...

Working From Home For The First Time

Many people are working from home now thanks to the COVID-19 (aka the Coronavirus) bug that’s running through the world like mad. Some people (like me) work from home...

Python

Python scripts for pivot tables in SQL Server

You might use PIVOT tables in Microsoft Excel for data analytics, preparing reports. It helps us to extract meaningful information from a large data set.

SQL Server on Linux

SQL Server on Linux? Start on Azure

I’ve talked for months now about the ability to run SQL Server on the Linux platform. For those of you interested in exploring the benefits of this platform, you’re... The...

SQL Server 2019 now available on Ubuntu 18.04, supported on SLES 12 SP5

We are happy to announce the availability of SQL Server 2019 package native to Ubuntu 18.04 ecosystem, fully supported for production use, starting with CU3. You can read about SQL Server 2019 CU3 release at following page.

Security News and Issues

High-stakes security setups are making remote work impossible

Some staffers at power grids, intelligence agencie...

T-SQL

When STRING_SPLIT() falls short

This morning, my friend Aaron Bertrand (blog|twitter) posted a plea for help with STRING_SPLIT() improvements. I’m very much in Aaron’s corner on this, having written about the olden days...

Modernizing Your T-SQL: Trimming Strings

This is one of several posts on modernizing T-SQL code with new features and functionality available in SQL Server. Last year, you finally retired the last of your SQL Server 2008R2 instances. Congratulations!

T-SQL 101: #61 Calculating end of month in SQL Server T-SQL

It's surprising how often you need to calculate the date for the end of a month i.e. you supply a date, and you want the date for the end...

Testing Software

There needs to be a win

A while back a company I worked for had two teams. One was a development team and the other was ... Continue reading The post There needs to be a...

Virtualization and Containers/Kubernetes

Containers and DevOps

Over the last couple of years, one of these single most exciting technologies to come out around the Data Platform has been containers. You may not see them change...

Getting started with Windows containers & SQL Server

SQL Server containers are gaining popularity as a way of enhancing and standardizing development environments for Windows & Linux based SQL databases.

Attaching / restoring databases inside a container

I have been using Docker containers for local development and testing for some time now; I first blogged about my steps into this brave new world back in late 2016. Most of the time, I just need to create some throwaway database, with a throwaway table, to prove a point or to validate an answer I've supplied.

Getting started with Windows containers & SQL Server

SQL Server containers are gaining popularity as a way of enhancing and standardizing development environments for Windows & Linux based…

 
RSS FeedTwitter
This email has been sent to newsletter@newslettercollector.com. To be removed from this list, please click here. If you have any problems leaving the list, please contact the webmaster@sqlservercentral.com. This newsletter was sent to you because you signed up at SQLServerCentral.com. Note: This is not the SQLServerCentral.com daily newsletter list, and unsubscribing to this newsletter will not stop you receiving the SQL Server Central daily newsletters. If you want to be removed from that list, you can follow the instructions on the daily newsletter.
©2019 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved.
webmaster@sqlservercentral.com

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -