| The Complete Weekly Roundup of SQL Server News | Hand-picked content to sharpen your professional edge |
| On Looking and Acting the Part A neighbour of mine blamelessly became unemployed at a dangerous age. In some desperation, he took a job as a driver for a firm of undertakers. Though good humoured, and the perfect companion for an evening at the pub, his looks are dark, taciturn, sad. He drove in sunglasses, enhancing the effect, and was habitually solemn whilst driving. His rise through the ranks of undertaking was meteoric. Soon he was a pallbearer and leading a team at funerals. In no time, grieving relatives asked for him specifically. His face, his demeanour, was perfect. To his surprise, a shining and lucrative new career now lies ahead of him, for as long as he wants it. I thought of my friend when advising someone who wanted a career as an IT consultant. I recounted the hard lessons I'd learned whilst working as a database consultant over several decades, advising banks, large corporates and government departments. Your face must fit. You must look and act the part. If you do, the work is easy because the muddles that large corporates get themselves into with databases are almost always technically simple, but all attempts at resolution become gridlocked by human nature, preconceived notions, embedded interests and persuasive false prophets. The ideal consultant first gets a clear idea of the nature of the logjam by listening, and then facilitates a resolution while humiliating nobody and convincing everyone that it was their own skill that fixed the problem. This requires a straight face. I have seen the careers of rookie consultants die in front of my eyes, as they throw themselves back from their workstation laughing and bellowing, 'who the hell wrote this garbage?' Technical competence is insufficient for the role. There are certain disadvantages to being self-effacing. I once dealt so successfully with a sticky database problem within a government department that a couple of years later, they asked to have me back. However, I'd been so anonymous the first time around that they'd forgotten my name. The agency, in their usual amoral way, said they didn't know either and offered them someone cheaper who happened to be 'on the books'. I only heard about it later. Appearance works both ways. Now that I look like Grandpa, the sort of Grandpa that has to be told how to switch on a mobile phone or use a handset for the telly, I encounter a sense of disbelief, in most of the workplaces I visit, that I could possibly know anything about technology. Youngsters often feel obliged to explain simple database concepts to me. I could no longer do consultancy. Ironically, I know far more about databases now than I did then, but on the other hand, I'd stick out like a sore thumb, looking absurd in a suit and grumpier when confronted with foolishness. Much of IT work is less to do with the technology and more about working easily in a team. Perhaps a career in undertaking beckons, but I'm not sure that, even there, a role can be found for someone who looks like a biblical illustration of a vengeful Jehovah. 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 |
Even DBAs who aren't of a nervous disposition, would want to know if a database was stopped or removed. They would also be intrigued by the sudden unrehearsed addition of a database to a production server. |
Giorgi Abashidze explains how his team use a 2-phase deployment process with SQL Compare Command line, and some SQL Synonyms, to automate custom deployments for each of their customers, while only needing to maintain one branch per release in source control. |
Josh Smith shows how to use SQL Data Catalog to perform a 'first cut' data classification for one your SQL Server databases, identifying all columns that are likely to hold personal or otherwise sensitive data. |
Kendra Little sat down with the SQL Change Automation Dev Team to get some insight into how they build the product with the customers in mind. SQL Change Automation 4.1 included adding support for the tracking of static data tables to the SSMS extension. This was a direct result of the communication and work the team have carried out with their customer base. Read Kendra’s blog to find out more about the release and the work that goes into delivering these updates. |
You find messages in the error log saying that when DBCC CHECKDB was executed, it was causing transactions to roll back in the database – how could that possibly be allowed to happen? Don't panic, it isn't. It's a bug. |
SQL Server is available for download as an ISO file. You can mount it as a virtual drive and access it as though it was on physical media....except that there appears to be a problem with how SQL Server is packaged, which can randomly cause the installation to fail. |
In August last year I posted about a command line parser problem I ran into with AzCopy, which I eventually resol |
SQL Client Aliases allow you to connect to a SQL Server instance using another name. |
John Sterrett explains how you can find prior SQL ... |
Our SQL ConstantCare® service sends you daily recommendations for specific tasks that will improve your SQL Server’s health and performance. Next to each recommendation, there’s a Mute link that... |
When I launched The Noncluttered Index last year, ... |
Previously I wrote about In-Memory Optimized Tables, in this blog I am going to discuss how to determine which tables could benefit from being In-Memory by using a tool... |
Azure SQL Database Edge offers built-in ONNX runtime support, built-in streaming support ability to deploy from the Azure IoT Edge as a module, and has <500MB small-footprint container. |
This is by no means a complete list but more of a personal list of features I have seen not setup or just missed out when looking at Azure SQL DB. |
Azure Synapse (SQL Data Warehouse and Data Lake) |
Niko Neugebauer explains his admiration for the query labeling feature of Azure SQL DW, and would love for it to be ported to SQL Server & Azure SQL Database. |
Career Growth and Certifications |
As we enter a new decade, we asked programming exp... |
Computing in the Cloud (Azure, Google, AWS) |
After much reading through the internet looking fo... |
Conferences, Classes, Events, and Webinars |
Free webinar on Tuesday January 21 3-4 PM Central / 8-9 AM AEDT - Your business depends on rapidly deploying high-quality changes to databases while minimizing risk to data. Join Microsoft MVP Grant Fritchey to learn how to protect business-critical data and improve software delivery with Redgate’s Compliant Database DevOps solution for Microsoft SQL Server and Azure SQL Database. |
Comments are helpful when programming in any language, and PowerShell is no exception. In this article, Greg Moore demonstrates how to use comments to document code and to add prerequisites in PowerShell with #Requires. |
Pick a dense dataset or visual that feels tough to consume in a single graph, break it up to create a small multiple chart, and share it in the SWD community. |
DevOps and Continuous Delivery (CI/CD) |
When people begin applying DevOps principles to database development using Redgate tooling, often one of the first steps in the process involves getting database code into version control. Questions... |
Click to learn more about author Hemanth Kumar Yamjala. Every business today aims at achieving faster time-to-market with quality products or services. This is needed to stay competitive as... |
HA/DR/Always On/Clustering |
An apparently "simple" bug, with duplicate badges being awarded, surely easy fix in SQL, turns out to lot trickier than it sounded. |
Agent jobs, they can be a right pain to manage when you’re running availability groups. The problem is that Agent jobs are not AG aware, which means that if you failover our AG, more often than not you’re going to end up with a ton of jobs failing on your old primary. |
Performance Tuning SQL Server |
Managing what requests are made, managing the efficiency of each request, managing the hardware capacity available to satisfy requests. |
When you enable causality tracking for an extended events session, you can see all the behavior associated with a given task and the order in which it occurred. |
Erik Darling presents his 'pressure detector' store procedure; a set of DMV queries that will give you different levels of detail about memory and CPU usage currently taking place on a server. |
Erik Darling concludes a series on index design, and explains why it amounts to more than just predicate indexing. |
Erik Darling investigates a performance problem where the OLTP queries, which used a UDF, were fine but the reporting queries that reused the same function were slow. |
A quick search will tell you that implicit conversions are pretty awful for performance, and in particular drive CPU usage. That’s not news. There is an aspect of this I think a lot of engineers don’t understand; why does it cause performance issues? |
When SQL Server uses TempDB when any query does not have enough memory to do its operation, it is called TempDB Spill. Let's learn today. First appeared on What is... |
One of the key components of a Big Data Cluster is the data pool. Within that single data pool, there are two SQL Server instance... |
PowerPivot/PowerQuery/PowerBI |
How to assign different security for different pages of Power BI report |
Any user with the Power BI service administrator role can access the new activity logs either through the API directly or using PowerShell. |
Most people think aggregations is only applicable to petabyte scale data sets. That doesn’t have to be the true though, in this blog post I wanted to give my take on it and why it might be applicable to your current, smaller, model. |
Chris Webb suggests a good use for the new “Refresh a dataset” action for Power Automate, to schedule refresh of your datasets from a calendar in Outlook. |
The Get Data From Folder option in Power BI will just give you a list of files. There is a little trick that can help you to get a list of folders too. |
You can use a host of time-intelligence functions in DAX to calculate everything from simple year-to-date totals to moving averages and average opening and closing balances. In this article, Andy Brown shows how to model various scenarios with calendars and dates, and how to get around some of the issues you may encounter. |
Failover clustering and load balancing was introduced to the Power BI On-premises (aka Enterprise Gateway) almost two years ago in the... |
I have written another blog article previously about how to set up your Power BI to get data from a file in OneDrive for Business folder without needing gateway.... |
Brent Powell shares a Powershell script to retriev... |
Thanks for watching this week's Power BI news roundup! |
Ever wonder what a measure table is in Power BI? Or how to create one? This is a great way to organize the measures within your data model in... |
This T-SQL Tuesday is about Impostor Syndrome. I think that the term gets used in a broader context than the original meaning. From Wikipedia: Imposter Syndrome is a psychological... |
Imposter syndrome. If there was ever a phrase that brings about the dreaded Writer’s Block it would be Imposter Syndrome. I’m going to fall back to what I know I can talk... |
This month’s T-SQL Tuesday is hosted by Jon Shau... |
Tomaz Kastrun presents the the R helper function for you to solve even the most complex Sudoku grids. |
Which seven-letter honeycomb results in the highest possible game score? To be a valid choice of seven letters, no letter can be repeated, it must not contain the letter S (that would be too easy) and there must be at least one pangram. Solving this puzzle in R is interesting enough, but it’s particularly challenging to do so in a computationally efficient way. |
From time to time, when developing in R, working and wrangling data , preparing for machine learning projects, it comes the time... |
Alessandro Alpi describes an efficient way of showing the usage statistics of our SQL Server Reporting Services hosted reports, using a Grafana dashboard. |
SQL Server Security and Auditing |
I ran into a rather obscure permissions problem the other day. Since I wasn’t able to figure it out on ... Continue reading The post Permissions required for row counts... |
Microsoft has already issued a patch for the latest Windows vulnerability, which organizations should apply right away to avoid exposure to malware. |
Click to learn more about author Don Boxley. As we enter another new year and kick off a fresh decade, it’s a great time to call out some technology... |
Brent Ozar demos a neat edge case where SELECT * queries actually ran faster than picking a subset of columns. |
T-SQL window functions simplify solving many complex queries. In this article, Edward Pollack demonstrates how the functions can be used to find gaps and islands in a dataset. |
I previously mentioned that there were three functions for replacing values in strings. We saw REPLACE and STUFF. The other one is relatively new (SQL Server 2017) and it's... |
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. |
|
|