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

Deploying SQL Server Automatically

I've had to install SQL Server many times over the years. Often it has felt that most of these installs were one-offs, a dev server, a new QA instance, a production server for a brand new application. A few times I've had to recover from disaster, including restoring master, but often, I just installed SQL Server manually because that was quick and guaranteed. I knew what needed to be done for most of the instances.

However, I couldn't be sure. In the past, there were relatively few settings that were ever changed outside of the master database, but today there are more, and perhaps more importantly, the tolerance for making mistakes with any security missteps, is low. I've spent a bit of time learning to do unattended installs, and I've tried systems like FineBuild for installing SQL Server. In any size organization that might want certain standards set up, using one of these systems is important. Perhaps one of the better reasons to do this is to ensure that your dev and test systems are configured the same as production to prevent any silly misconfiguration problems.

This week I saw a post on using Ansible to install SQL Server on Linux, with all the various configurations. While I do think that it's easier to install SQL Server on Linux programmatically, there are a number of items to set and configure. Following along the install, it's interesting how much more this feels like something a developer would do, which is how many modern Operations groups approach installs and upgrades. Everything needs to be done without a human directly involved, often because of scale. There are so many systems we manage, often a mix of VMs, cloud, and local systems, which means that a consistent, programmatic way of installing instances is needed.

That's likely one of the most important skills for a modern system administrator. We need to learn to use tools to get our work done. Whether these are free, open-source, or purchased, using a tool to work at scale is more important today than ever before. Even if you are part of a development group, learning to manage systems with code can help ensure you can scale and grow quickly, and more importantly, handoff this job easily to someone else when you reach that point.

I think there are plenty of homemade scripts and tools that can help here, but almost every time I've seen one of these, it's not very portable to other staff, especially if the author isn't available. Too often these tools take shortcuts or are specifically tailored to the current environment and not the future one. These days, for many functions we tackle there are extremely well-built tools available at no, low, or modest costs. I'd encourage anyone that is handling these tasks to learn about the tools available and pick one. I don't know that I think any of these are necessarily easier to use, but they are all well documented and capable of handling most of your install, update, and configuration chores.

Steve Jones - SSC Editor

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

Testing Flyway Migrations Using Transactions

When you are using Flyway, how can you test your database migration script first to make sure it works exactly as you intended before you let Flyway execute it? Phil Factor explains.

Testing SQL Server Databases Using SQL Test

During database development, as well as writing SQL, you must also write the tests that prove your SQL code meets all the requirements. The article will help you get started with database testing for your SQL Server databases, by creating and running unit tests against them, as well as static code analysis tests.

Using Multiple Azure DevOps Organizations with SQL Source Control

Describing a database version control system using an Azure DevOps-hosted Team Foundation Version Control repo and SQL Source Control, and a workaround for authentication problems when connecting to multiple Azure DevOps organizations.

Overcoming Database DevOps challenges - part 1

When integrating database changes into a DevOps process, the biggest challenge is to standardize and coordinate the different approaches to application and database development. Discover the key tools & training resources to help you and your team.

Share your favorite Redgate tool – win technical training from Pluralsight!

Share your favorite Redgate tool – win technical training from Pluralsight! Level up your skills with Redgate’s latest competition. Redgate is giving you the chance to win a 3-month subscription to Pluralsight, the technical skills platform. To enter, visit the Redgate Forums and answer the question ‘What’s your favorite Redgate tool and why?’

AI/Machine Learning/Cognitive Services

ML{.NET} Introduction

Machine Learning (ML) has come from a buzzword that is nice to have in your application to a must-have feature that works and adds value. Data scientists develop ML models in various ML Frameworks like TensorFlow, Scikit-learn, PyTorch, Azure ML, etc. Before ML.NET became available to all developers, adding the ML functionality to .NET applications required knowledge in some ML frameworks to build and train ML models.

AI in real-life: A Q&A with Gavin Day

From AllAnalytics

In this Q&A with MIT/SMR Connections, Gavin Day, Senior Vice President of Technology at SAS, shares real-life examples of artificial intelligence (AI) at work, discusses picking the right problems...

Detecting Financial Fraud with Machine Learning

From BlueGranite Blog

According to the Federal Trade Commission, consumers reported losing more than $3.3 billion to fraud in 2020, an increase of $1.5 billion since 2019. Contributing to this uptick in...

Rise of the Cyborgs: Using AI/ML to Enhance Human Intelligence (Part 1)

From Dataversity

Click to learn more about author Assaf Egozi. Modern organizations house a growing number of “citizen data analysts.” These individuals hold a wide range of positions in the enterprise, from...

An overview of Azure Cognitive Services

From SQLShack

Microsoft Azure has been a leading cloud service provider over the past few years. In this article, we are going to look into an overview of various cognitive services...

Sean Gallagher and an AI expert talk about our crazy machine-learning adventure

From Ars Technica

Join our headline experiment post-mortem today, July 28, at 1 pm Eastern time!

Administration of SQL Server

Server vs Instance. A rant.

From SQLServerCentral Blogs

It’s a SQL Server Instance not a SQL Server. The product is SQL Server. The installed copy is an Instance. ... Continue reading The post Server vs Instance. A rant....

How to put a SQL Server Database into Recovery Pending

From DCAC

You might be asking why on earth would you want to get a database into an undesirable state, more specifically into a Recovery Pending state.  Well, in my case,...

The DBCC_OBJECT_METADATA Latch

From SQLPerformance

Paul Randal continues his series on latches, showing how computed columns can really slow down DBCC operations. The post The DBCC_OBJECT_METADATA Latch appeared first on SQLPerformance.com.

SQL Server System Databases – the Tempdb Maintenance

From SQL Server – {coding}Sight

In my previous article about SQL Server System Databases, we learned about each system database that comes as part of SQL Server installation. The current article will focus on...

[Video] Office Hours: Ask Me Anything About SQL Server

From Brent Ozar Unlimited

Erika and I are on the road in Iceland, roaming around the countryside, and I’m taking you with us. This week, we’re in Siglufjörður, a beautiful little oceanfront fishing...

Deploy SQL Server – The Ansible way!

From MS SQL Server Blog

Today, we'll look at how to automate SQL Server deployment and configuration on Linux. To automate our deployment, we will use the Ansible system role, which is available here.   Note:...

Improving performance with instant file initialization

From Simple Talk

Instant file initialization can speed up database ...

Azure SQL Database

Safeguard your Azure SQL Database to prevent unexpected changes

From SQLShack

This article explores locks to prevent unexpected changes in Azure SQL Database resources. Introduction Suppose you manage multiple critical Azure SQL Server resources. As an administrator, you don’t want...

DDL triggers in Azure SQL Database

From SQLShack

This article explores database DDL triggers for auditing Data Definition Language (DDL) on Azure SQL Database. Database audit is critical and essential for securing your database infrastructure. Azure SQL...

Azure Synapse (SQL Data Warehouse and Data Lake)

How to query private blob storage with SQL and Azure Synapse

Azure storage can be marked Private to control access. Dennes Torres explains how to query private blob storage with SQL and Azure Synapse.

Career Growth and Certifications

[Video] Office Hours: Ask Me Anything About Professional Development

From Brent Ozar Unlimited

Erika and I are on the road in Iceland, roaming around the countryside, and I’m taking you with us. This week, we’re in Siglufjörður, a beautiful little oceanfront fishing...

What Counts For a DBA: Patients

From Simple Talk

It’s been a while since I last wrote a new blog, and it has been a very long time since I last wrote a fresh new “What Counts For...

Data and Analytics Salaries Heat Up in Recovery Economy

From IT Pro - Microsoft Windows Information, Solutions, Tools

After a year of uncertainty, the employment market...

Community Interests

Introducing Redgate’s flexible-hybrid working model

From Blog – Redgate Software

The world of work has changed dramatically over the last year and, at Redgate, we’ve been reflecting on what this might mean for our business, and the ways that...

Computing in the Cloud (Azure, Google, AWS)

AWS-RDS SQL Server limitations

Some AWS RDS SQL Server limitations

Heads-Up: AWS Support for Internet Explorer 11 is Ending

From AWS News Blog

If you are using Internet Explorer 11 (IE 11) to access the AWS Management Console, web-based services such as Amazon Chime or Amazon Honeycode, or other parts of the...

How to Setup SQL Server on the Amazon RDS

From SQL Server – {coding}Sight

SQL Server is one of the most popular databases used in modern applications. Over the past few decades, it has established itself as a leading database provider that drives...

Complete Guide for Virtual Machine in Google Cloud Platform with Demo

From SQLServerCentral Blogs

Complete Guide for Virtual Machine in Google Cloud. 1) Understanding of Compute Instances in GCP 2) Preemptible & Shielded VM Instances 3) Live Migration of VM instances in GCP 4) Compute Engine Dashboard... The...

DMO/SMO/Powershell

Fun With PowerShell Arrays

From Arcane Code

Fun with PowerShell Arrays

Data Mining / Data Analysis

Tableau’s Philip Cooper on Data Analytics ‘Available to All’

From Past News - RSS Feeds

Philip Cooper, VP of Product, Tableau, discusses the trend toward making data analytics tools available to employees throughout the organization, not merely the C-suite.  Among the topics we discussed: ...

Understanding your data: Basic summary statistics

From AllAnalytics

Following on from my last blog introducing the series, in this section, we’ll take a first look at Explanatory Data Analysis with basic summary statistics. Getting started with a...

Data Privacy, Compliance, and GDPR

Google Play gets mandatory app privacy labels in April 2022

From Ars Technica

After delaying its iOS privacy labels for months, Google copies the feature for Play.

Accessibility in your PowerPoint slide deck

From Born SQL

This post is part of the series I kicked off here. You can read my post about captions here. Let’s talk about slides! Many of us are familiar with...

Venmo gets more private—but it’s still not fully safe

From Ars Technica

Until it offers privacy by default, it remains a liability for many of its users.

Data Visualisation

seeing red

From Storytelling with Data

Last month, we challenged our community to create a visualization based around the color red. That particular color gets plenty of use in visual design, and it has a...

Database Design, Theory and Development

What’s in a Name? (aka Data Modeling What?)

From Dataversity

Click to learn more about author Thomas Frisendal. This is a summer special, on the lighter side, but addressing a simply overwhelming issue at times. What Are You Talking...

ETL/SSIS/Azure Data Factory/Biml

SSIS Lookup transformation vs. Fuzzy Lookup transformation

From SQLShack

This article will explain how to use the SSIS lookup transformation and how it differs from the fuzzy lookup. This is a continuation of the SSIS features face-to-face series...

Hardware

Intel Launches Xeon W-3300: Ice Lake for Workstations, up to 38 Cores

From AnAndTech

With the launch earlier this year of Intel’s Ice Lake Xeon Scalable platform, the first Intel enterprise platform based on 10nm, we were always wondering to what extent this...

Intel's Process Roadmap to 2025: with 4nm, 3nm, 20A and 18A?!

From AnAndTech

In today’s Intel Accelerated event, the company is driving a stake into the ground regarding where it wants to be by 2025. CEO Pat Gelsinger earlier this year stated...

Here’s the first credible Microsoft Surface Duo 2 leak

From Ars Technica

Undeterred by the failure of the Duo 1, Microsoft doesn't seem to be changing much.

MDX/DAX

INTERSECT – DAX Guide

From SQLBI

INTERSECT: Returns the rows of left-side table which appear in right-side table. https://dax.guide/intersect/

UNION – DAX Guide

From SQLBI

UNION: Returns the union of the tables whose columns match. https://dax.guide/union/

Microsoft News

Microsoft Sales, Profit Gain; Shares Drop on Azure Concern

From IT Pro - Microsoft Windows Information, Solutions, Tools

While Azure has been growing steadily, it faces steep competition for big deals from Amazon.com Inc., the dominant cloud service, and Google, which ranks third in the market but...

Performance Tuning SQL Server

SQL Compilations/sec is not what you think it is

From Simple Talk

SQL Server perfmon counters provide a wealth of information about performance. In this article, Fabiano Amorim shows how current wisdom about one counter, SQL Compilations/sec, can sometimes be misleading.… The...

My Application is Getting SQL Timeout Errors, But What Query is the Problem?

From SQL Undercover

This is something that comes up time and time again. A developer or member of the service desk comes up to me and says “SQL’s timing out, you see...

Starting SQL: When Do Queries Wait?

From Erik Darling Data

Starting SQL: When Do Queries Wait? If you want to check out my more advanced training, follow this link to get 90% off.

Starting SQL: Monitoring Active Queries With sp_WhoIsActive

From Erik Darling Data

Starting SQL: Monitoring Active Queries With sp_WhoIsActive If you want to check out my more advanced training, follow this link to get 90% off.

Collecting SQL Server performance monitor data

SQL Server provides information for troubleshooting performance. Ed Pollack demonstrates collecting SQL Server performance monitor data.

PowerPivot/PowerQuery/PowerBI

Transform a local into a global Power BI solution – Request access to content

Third blog in the series on Transform a local into a global Power BI solution. After covering the general differences between small scale and enterprise solutions and last week all about content sharing, it is time to elaborate on a new topic.

Measuring RLS Performance in Power BI

From Guy in a Cube

Have you tried measuring performance of Row-Level ...

Correcting Source Data in Power BI

From Excelerator BI

This article continues to build on my COVID Case Fatality Rate report for Australia. Something happened with the global source data this week – in short, it was wrong....

Improving My COVID Power BI Report

From Excelerator BI

As is almost always the case when building Power BI reports, the first version is just the start of the journey, not the final destination. This article is a...

Passing Variables Values into Power Automate Desktop Flows

From SQLServerCentral Blogs

In this video Devin continues building on a previo...

Smart Narratives and Conditional Formatting in Power BI? Yes please!

From Guy in a Cube

Using Smart Narratives and you'd like to add some ...

Custom functions and complex return types in Power Query

When working with Power Query, you have probably already realized that every expression you write returns a value of a specific type. Usually this will be a primitive type like text, number, or date.

Explaining segment size in Power BI Premium – Unplugged #29

From Sqlbi

Large models in Power BI Premium have now a larger...

Query Pending Event In Power BI Performance Analyzer

From Chris Webb's BI Blog

A quick note for anyone like me who spends too much time looking at the JSON exports from Performance Analyzer in Power BI Desktop: you may have noticed an...

Connecting to Azure Blobs in Power BI

From SQLServerCentral Blogs

The step-by-step process below walks through connecting to data housed in Azure Blob Storage from Power BI using a SAS token. There are many ways to grab your data... The...

Product Reviews and Articles

Log Analytics and Azure Data Studio: New Extension

From Simple Talk

You need to dig into old blogs I wrote before to fully understand how interesting this new extension is. On Saving Money with Log Analytics I mentioned how important log...

Product Upgrades and Releases

Updated First Responder Kit and Consultant Toolkit for July 2021

From Brent Ozar Unlimited

I’m slowing the First Responder Kit update frequency down to once every 2 months. I know from firsthand experience working with clients that folks just can’t patch quickly enough,...

Azure Defender for SQL is now available on the SQL Virtual Machine blade.

From MS SQL Server Blog

Running SQL Server on Azure VM comes with many benefits such as  Lower the cost to run SQL Server on Azure with Azure-only pricing offers.  Easily bring your SQL Server to the cloud and enjoy...

Introducing Amazon Route 53 Application Recovery Controller

From AWS News Blog

I am pleased to announce the availability today of Amazon Route 53 Application Recovery Controller, a Amazon Route 53 set of capabilities that continuously monitors an application’s ability to...

Inspector V2.6 now available

From SQLServerCentral Blogs

As always the code can be found here in our github...

Python

FizzBuzz with Python

From youdidwhatwithtsql.com

Why? Simply because I haven’t attempted the Fizz...

R Language

Getting predictions from an isotonic regression model

From Statistical Odds & Ends

TLDR: Pass the output of the isoreg function to as.stepfun to make an isotonic regression model into a black box object that takes in uncalibrated predictions and outputs calibrated...

Reporting Services

SSRS Editor Tip of the Day… CTRL + Arrows

From Steve Stedman

I learned this from one of my co-workers.  A quick tip for formatting SSRS reports. When you are in the SSRS report editor, and you want to move the...

SQL Server on Linux

SQL Server on Linux Storage Secrets on Microsoft Channel 9

From SQLServerCentral Blogs

I’m thrilled to have recently released a video with Microsoft’s Data Exposed on Channel 9 where I discuss setting up Linux storage appropriate for on-demand disk expansion for your... The...

Security News and Issues

Ransomware Attacks Spur a Renewed Push for Company Mandates

From IT Pro - Microsoft Windows Information, Solutions, Tools

U.S. companies that provide critical services or have high-value trade secrets should be required to improve their cybersecurity and report hacking attacks to the federal government, national security officials...

De-anonymization Story

From Schneier on Security

This is important: Monsignor Jeffrey Burrill was general secretary of the US Conference of Catholic Bishops (USCCB), effectively the highest-ranking priest in the US who is not a bishop, before...

Kaseya Offers Customers Decryption Key for Massive Ransomware Attack

From IT Pro - Microsoft Windows Information, Solutions, Tools

The remote management software company will not di...

What Does It Take to Secure Containers?

From IT Pro - Microsoft Windows Information, Solutions, Tools

A vast majority of DevOps practitioners say contai...

Software Development

Go R1 Day 57

From Sheldon Hull

progress Did some adhoc work in this repo (the hugo repo that contains this blog) testing out Mage, which is a Go based Make alternative. Generated dynamic target directory for hugo...

T-SQL

How to calculate Subtotals in SQL Queries

From SQLShack

In this article, we will learn how to calculate and add a subtotal in SQL queries. Introduction A subtotal is a figure that shows the sum of similar sets...

More About AT TIME ZONE

From Jonathan Kehayias

This post is a follow up to my previous post on the performance impacts of the AT TIME ZONE implementation in SQL Server based on some observations and comments...

Finding a use for Extended Properties in SQL Server

From Eitan Blumin

“Extended properties allow you to add custom properties to database objects”, so says the official Microsoft documentation. However, very few DBAs make use of them, if at all. This...

A New Way to Contrast Data

From Sherpa of Data

If you’ve been following along with the previous...

Guide for CTE in SQL Server

From SQL Server – {coding}Sight

The Common Table Expression aka CTE in SQL Server provides a temporary result set in T-SQL. You can refer to it within a SQL Select, SQL Insert, SQL Delete,...

Finding problematic NOLOCK patterns – Part 1

From SQLBlog.org

I start a new series on identifying and removing problematic NOLOCK hints from update and delete statements.

CTE Hierarchy compared to the alternative

From Steve Stedman

After my CTE presentation at a while back I was asked many questions, and received several great suggestions from people.   One question was how does the performance compare...

JSON for SQL Server. Part 1

From SQL Server – {coding}Sight

In the last few years, JSON has positioned itself as a standard data exchange format between services, although XML is still widely used. In the SQL Server 2016, Microsoft...

Tech News

Why Apple’s Enterprise Efforts Always Fail

From Past News - RSS Feeds

Apple is again making a run at the Enterprise, and Forrester has released a report indicating companies could save around $300 a year in support by moving to Macs. ...

How to Get Started Testing Microsoft Windows 11

From IT Pro - Microsoft Windows Information, Solutions, Tools

The biggest benefit of testing the Windows 11 OS b...

Nuclear power’s reliability is dropping as extreme weather increases

From Ars Technica

A comprehensive analysis shows that warmer tempera...

The Lighter Side

America’s favorite truck goes hybrid: The Ford F-150, reviewed

From Ars Technica

Hybridization offers decent fuel economy improvement and a lot more power.

SpaceX to launch the Europa Clipper mission for a bargain price

From Ars Technica

Decision comes after shaking issue with SLS rocket...

Virtualization and Containers/Kubernetes

SQL Server and AKS

From SQLServerCentral Blogs

Following on from my last post after creating AKS, I now want to work with SQL server. First step, load up Azure cloud shell. Run the following commands Here... The...

A storage failover issue with SQL Server on Kubernetes

From DBA From The Cold

I’ve been running a proof of concept for SQL Ser...

Container Limits and SQL Server

From SQLServerCentral Blogs

Limits in Containers Docker gives you the ability to control a container’s access to CPU, Memory, and network and disk IO using resource constraints, sometimes called Limits. You define... The...

A storage failover issue with SQL Server on Kubernetes

From SQLServerCentral Blogs

I’ve been running a proof of concept for SQL Server on Kubernetes over the last year or so (ok, probably longer than that…hey, I’m a busy guy ?? )... The...

 
RSS FeedTwitter
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.
©2019 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved.
webmaster@sqlservercentral.com

 

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