Blog Post

More Interactive Notebooks from MS Docs

,

I saw a note from Microsoft recently that they are trying to improve some of the support experiences for customers that are going through their docs. The idea is to make it easier for a customer to get a rich code experience for troubleshooting or learning.

This is a preview feature, but here’s a quick look.

Full Transaction Logs

For some people, the transaction log gets full. Not for me, but it has happened in the past, and I’ve learned how to be proactive here. However, this topic might be the number one topic at SQLServerCentral over the years.

Microsoft has a docs article on troubleshooting a full transaction log. In the article, at the top, is a new button. You can see here, this will open a notebook in ADS.

2021-08-10 17_50_23-Troubleshoot full transaction log error 9002 - SQL Server _ Microsoft Docs — Moz

When I click this, I get a security warning and do I want to open this with an app.

2021-08-10 17_50_27-Troubleshoot full transaction log error 9002 - SQL Server _ Microsoft Docs — Moz

Then I get the app chooser:

2021-08-10 17_50_34-Troubleshoot full transaction log error 9002 - SQL Server _ Microsoft Docs — Moz

Then ADS opens.

Well, kind of. I have to approve something else.

2021-08-10 17_51_54-Welcome - AdventofCode - Azure Data Studio

And again.

2021-08-10 17_52_00-Welcome - AdventofCode - Azure Data Studio

I appreciate secure computing and good practices, but this type of clicking again and again is going to get people to do the “run everything as sa” security mindset and start to always allow things to open.

In any case, I do get a notebook. The text is the text of the KB article, which is comprehensive.

2021-08-10 17_53_43-? T-Shooting_LogFull_9002.ipynb - AdventofCode - Azure Data Studio

The code is included, but I can run this case. Not cut/paste, not mess with, just connect to an instance and run it.

2021-08-10 17_53_53-? T-Shooting_LogFull_9002.ipynb - AdventofCode - Azure Data Studio

There are instructions for fixing things.

2021-08-10 17_54_01-? T-Shooting_LogFull_9002.ipynb - AdventofCode - Azure Data Studio

And there are options for how to solve different issues, some of which also have code.

2021-08-10 17_54_08-? T-Shooting_LogFull_9002.ipynb - AdventofCode - Azure Data Studio

To me, this is a great way to help customers quickly solve issues. I look forward to seeing how this goes, and how people use it. For now, I know there are two articles in preview, if you want to give this a try.

Original post (opens in new tab)
View comments in original post (opens in new tab)

Rate

You rated this post out of 5. Change rating

Share

Share

Rate

You rated this post out of 5. Change rating