| The Complete Weekly Roundup of SQL Server News | Hand-picked content to sharpen your professional edge |
| Responding to the Call of the Wild I was working away at trying to set up remote servers with alias server names the other day. I'd done it many times in the past, but for some reason it just wasn't 'happening' this time. I was staring in puzzlement at the screen when I recalled that an old programmer once told me that development work could, at times, be more like lion taming. At the time he told me that, I wasn't sure what he meant. After all, you don't approach an IT problem with an upturned chair, a whip, and a gun, do you? The meaning is more nuanced than this: it is all about the way that a horse-whisperer, or lion whisperer in this case, tackles the problem and 'prepares themselves mentally'. The first step in preparing to tackle a really difficult and pernicious IT problem is to not show your fear. You have to be confident you can deal with whatever the truculent problem can throw at you, which will generally include obscure and misleading error messages, the blue-screen of death, help-text written by an intern, and scattergun log file information. Never turn your back on the snarling beast, even for an instant. Calm eye contact is essential. The thing is, if you get distracted and do something else, it is tricky going back. Every fibre of one's being resents doing so. You delay and prevaricate. You shrug and tell people that the objective probably isn't 'strategic', or 'a high enough priority within the team' or 'won't be supported'. No, it is much better reconcile yourself quickly to the fact that it is going to take a while, and so take time to set up the most effective test harnesses and scripts to ease the pain and make it quicker to fail. Arrange for sandwiches to be brought in every four hours. You can then face the prospect of a battle of wills, even one that lasts into the night. If you solve it within minutes, then the pleasure of dominance over the machine is that much more intense. As the horse whisperers say, it is difficult to overemphasize how "very, very careful, and quiet, and calm, and comforting one needs to be". I occasionally wonder whether machines and applications hear the 'call of the wild', and were intended to be free spirits, roaming the majestic plains of the internet. Sadly, I prefer my servers to be docile, well tethered, with a ring through the nose, but they seem to occasionally to sense the breeze, flare their nostrils and give a brief howl for the life of freedom. Phil Factor Join the debate, and respond to the editorial on the forums |
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. |
Vendors/3rd Party Products |
Phil Factor reviews the major features of SSMS IntelliSense and autocomplete and then explains how SQL Prompt fills in the gaps, and how to use to use the two in tandem to 'get the best of both worlds'. |
Phil Factor answers some questions you've been itching to ask about SQL Prompt, covering ranked code completion suggestions and auto-fixing SQL code smells, and suggesting where in the tool to find other nuggets of hidden treasure. |
Thousands of databases in a SQL instance can make a DBA’s life a bit challenging. Automation suddenly becomes very important. |
Erin Stellato discovers a helpful 'back door' way to turn off Query Store when you think it might be the cause of a problem. |
Video walkthrough of renaming or “flipping” databases to minimize down time during a refresh. Most commonly when moving a copy from prod to dev. |
Kendra Little delves into how schedules work in “classic” release pipelines. |
Your development copy of an Azure SQL Database has been certified for early testing and now you want an exact copy in QA to start integration testing. Here's how you can do it... |
Azure Synapse (SQL Data Warehouse and Data Lake) |
James Serra explores a cool new feature in the public preview of Synapse that makes it much easier to write federated queries, without first having to write ETL to collect all the data into a relational database or to provision a SQL pool. |
Computing in the Cloud (Azure, Google, AWS) |
No matter what you need, Azure probably has a solution. In this article Diogo Souza demonstrates how to host a static web page in Azure in just a few steps with Azure Blob Storage and Azure CDN. |
Moving resources from one location to another in Azure has been possible but not easy to do. In this article, Dennes Torres introduces an exiting new Azure feature: Azure Resource Mover. |
Conferences, Classes, Events, and Webinars |
With the launch of SQL Monitor 11, you can now monitor your SQL Servers hosted on Amazon RDS alongside your on-premises and other cloud-based servers, instances, and databases. Join this webinar to discover the benefits of monitoring your entire estate, including on-premises and cloud-hosted databases, from a single pane of glass. |
In this webinar discover how Redgate’s Data Catalog tool gives organizations the ability to organize their data classification in a centralized interface, and gain additional insights into where their sensitive data lives. |
Sander Stad explains how he made memory improvements in data masking for dbatools. |
Running Get-Process is simple enough and the output is pretty complete but you want to see high-memory use processes highlighted in red! Here's how it's done... |
Examining the differences between three PowerShell statements that are widely used in PowerShell scripts: Break, Return and Exit. |
This post lists a number of known issues you may encounter with Entity Framework Core Power Tools SQL Server reverse engineering, or when running the dotnet ef dbcontext scaffold command, and provides resolutions or workarounds for each issue. |
Data Mining / Data Analysis |
Sliding windows functions and lagged inputs, used to predict the SCORE for upcoming restaurant food inspections in Wake County. |
Database Design, Theory and Development |
SQL Server synonyms can be used to permanently alias database objects in the same or another database. In this article, Greg Larsen demonstrates how to use synonyms and the many reasons to consider using them. |
ETL/SSIS/Azure Data Factory/Biml |
The good news is the ARM template is not only easy, but the same for any data factory we would like to deploy, because it just need to point to a github repo and all the data factory code will come from there. |
It's really about how to simplify metadata driven pipelines in Azure Data Factory... |
Could a Durable Function be the answer to Rayis Imayev's quest for stable execution of a long-running processes in Azure Data factory? |
HA/DR/Always On/Clustering |
A step by step how to for configuring the database mirror. |
This article describes the behavior of the DAX functions that manipulate sets; they are useful to create queries and sometimes also to author measures. |
Oracle has been established as one of the top database systems used in enterprises throughout the world. In this article, Cynthia Dzikiti describes her career as an Oracle application developer and covers some of the benefits of Oracle. |
Performance Tuning SQL Server |
Hugo Kornelis releases "Understanding Execution Plans – advanced level" as part of his SQLServerFast Execution Plan Video Training. |
I know, it sounds foolish. Trivial, even. Don’t let people make changes without permission. |
If you go to open a new tab in SSMS and you hear a creaking sound, it might be time to revisit some of your hardware choices. |
A lot of stored procedures have multiple statements and determining the most costly statement in a given proc is a very common task. Happily, Extended Events are here to help. |
Understanding and gathering relevant information about TempDB bottlenecks. |
PowerPivot/PowerQuery/PowerBI |
Making the leap to using reports built on a tabular data model instead of the source database means the developer has to stop thinking in SQL and start thinking in model mechanics. This can pose a challenge when needing to validate numbers in a report, which should be done using the data model and not only by running by a SQL query. |
Chris Webb presents an M function for investigating all the queries that are executed for a single dataset refresh. |
You can use PowerShell to download all the PBI reports in a workspace in one go, instead of having to download them one at a time using the PBI service UI. |
The normal way the Table.Group function works is to group the entire table by the field(s) you are grouping by, then providing whatever aggregations you need. However, you can alter that behavior and group data by a column, and have it provide a separate group at each change in the data. |
How to use the Power BI REST API to update parameters. |
How to create a disconnected table, disconnected measure and then link the disconnected table with a calculation group. |
There is only one problem with the .md output: PRETTY TABLES! Most of the pretty tables packages that I like to use, or don’t display all of the formatting, or don’t display at all in .md format. Fear not, this is very easily solved by simply changing your output to html and setting up GitHub pages on your GitHub repo. |
Given how useful it now is with the Azure SQL Database options, there's never been a better time to learn about replication. |
A timely reminder to check ALL of the permissions when working with replication. |
Shopping in a supermarket is obviously very different to querying a database, but the underlying concepts behind how we pull the right goods from the shelves definitely have some strong similarities. |
Database server = fridge. Chef = developer. DBA = refrigeration tech. |
Using a program called Power BI, the computer can tell us we have 800 jelly beans! That’s a lot of jelly beans. |
Nested Loops joins star in tense courthouse drama. |
This article describes the structure of a sql_handle and shows how the batch text hash component is calculated. |
Continuing his series on named table expressions, Itzik Ben-Gan turns his focus onto optimization considerations of CTEs. |
This email has been sent to {email}. 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. |
|
|