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
 

The Pervasive Nature of Open Source

This week there was a headline that said "Open Source Software Powers 96% of Modern Applications, New Study Finds" and if you stopped reading there, you might think, hey, it's not in the apps I work on. Or you might think that because you use OSS software, most of the world also does. Microsoft, Oracle, etc. are headed for disaster.

If you read a little further, there's this gem: Open source components are present in 96% of codebases. That's a far cry from OSS powering most modern applications. I think a better headline might be that OSS helps build most modern software. However, this isn't an editorial on bad journalism.

I do think OSS stuff is amazing. Many of us in the Microsoft Data Platform space use sp_whoisactive or the First Responder Kit or Diagnostic Queries or some other OSS in our work. Lots of commercial products are built with OSS libraries or components, or there are free versions. Flyway (from Redgate) has an OSS version. OSS helps us build better software, though commercial packages also help.

One of the interesting things about OSS is that many very popular projects have just a few people maintaining them. If those 1 or 2 people disappear, then the project might stagnate. Or worse, if there are security issues, no one addresses them. One of the main attractions of OSS is that anyone can provide a fix or enhancement, but the reality is that most people don't. Most people just use whatever is out there.

And most people rarely upgrade their OSS. They get something that works and don't want to change. I get that, as I feel the same way often, especially in the real world. I have shoes, gadgets, tires, etc. that work and I don't want to change. In the software world, this creates vulnerabilities and security issues, as the report shows with many people still using Python 2. I both understand and don't understand why this is the case, but I do worry about security.

The other concern is that few people review changes to OSS packages, which has led to previous supply chain attacks with backdoors or vulnerabilities introduced in packages that many other software developers use. Again, OSS is supposed to be better than closed software at preventing this, but the reality is that most (the vast majority) of us are just too busy to look for issues. Even when vulnerabilities are published, far too few developers see the information. Automated scans in CI/CD systems are great, but again, too few people add these to CI/CD pipelines consistently.

Software is hard. In some sense, I'm glad databases don't have external compilers or use anything other than raw code, but plenty of people still write SQL Injection vulnerabilities in their functions and stored procedures, and many don't have good visibility into the code that is submitted to their databases, often because the code is assembled at runtime. I wish more people just used stored procedures and included more testing and vulnerability scanning, but that's a dream. For now, I suggest most of you developer patterns your staff can use and stick with them.

And use version control. At least then we can find all the old, bad code and fix it with some search and replace.

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

Finding Significant Differences in Flyway SQL Migration Code

This article demonstrates using PowerShell-based tokenization to compare two SQL migration files. It ignores non-functional changes like comments or formatting and pinpoints the first meaningful change in SQL logic, providing detailed feedback on its location and nature.

AI/Machine Learning/Cognitive Services

Advent of 2024, Day 6 – Microsoft Azure AI – AI Services in Azure AI Foundry

From TomazTsql

 

Your AI clone could target your family, but there’s a simple defense

From Ars Technica

The FBI now recommends choosing a secret password to thwart AI voice clones from tricking people.

Advent of 2024, Day 5 – Microsoft Azure AI – Deployment parameters in Azure AI Foundry

From TomazTsql

 

Advent of 2024, Day 1 – Microsoft Azure AI – What is Foundry?

From TomazTsql

Microsoft Azure offers multiple services that enab...

Advent of 2024, Day 2 – Microsoft Azure AI – Working with Azure AI Foundry

From TomazTsql

In this Microsoft Azure AI series: Azure AI Foundr...

Advent of 2024, Day 4 – Microsoft Azure AI – Deployment in Azure AI Foundry

From TomazTsql

In this Microsoft Azure AI series: When you are in Azure AI Foundry, on the left navigation bar, select “Model Catalog”. For this demo, I will be selecting multimodal...

Advent of 2024, Day 3 – Microsoft Azure AI – Creating project in Azure AI Foundry

From TomazTsql

In this Microsoft Azure AI series: In Azure AI Foundry yo u will be able to create project that will keep your solution together. Select the “+ Create Project”...

Administration of SQL Server

Backing up SQL Server to S3 and Blob Storage

From Curated SQL

I have a new video: In this video, I show how to back up a database directly to AWS S3-compatible storage (in SQL Server 2022)…

Career, Employment, and Certifications

Who’s Hiring in the Microsoft Data Platform Community? December 2024 Edition

From Brent Ozar Unlimited

Is your company hiring for a database position as of December 2024? Do you wanna work with the kinds of people who read this blog? Let’s set up some...

 
Cloud - AWS

AWS Cost Optimization

From MSSQL Tips

 

Conferences, Classes, Events, and Webinars

SQLBits is Coming Back to London in June 2025!

From Brent Ozar Unlimited

 

Coffee chat with Mala Mahadevan

In this coffee chat episode of Simple Talks, Louis spends nearly an hour chatting with SQL Server community champion Mala Mahadevan. Learn how Mala got into computing despite her passion for horticulture, her favorite thing about working in technology, and a love for national parks. And stick around to the end where Mala and Louis share their frustrations about a SQL Server feature they both love but really want to see enhanced, so it will be a great feature worthy of use by everyone, everywhere.

Save the date for PASS Summit 2025!

PASS Data Community Summit will return to Seattle next year! Save the date for this incredible in-person event for global data professionals, which will take place at Summit, Seattle Convention Center, from November 17-21, 2025!

PASS Summit is going on tour in 2025!

Announced during Redgate's Keynote at PASS Summit in Seattle, PASS Summit On Tour will see smaller scale events hosted in New York, Dallas and the Netherlands in 2025. To be the first to know when tickets and dates are released, sign up to our mailing list.

DMO/SMO/Powershell

PowerShell: How to configure a custom PSSessionconfiguration

From Sid 500 PoSh

A remote session can be set up with the help of PSSession. The predefined remote session is used by default. However, we can also create our own session configurations...

Data Privacy, Compliance, and Governance

New website shows you how much Google AI can learn from your photos

From Ars Technica

Upload your photo and get a thorough, three-paragr...

MDX/DAX

Real-World Use Case for DAX Optimizer: Real Estate

From Sqlbi

A real-estate company optimized its model with DAX...

BLANK in date columns and DAX time intelligence functions

From SQLBI

Implications of having blank values in date columns and best practices for managing them in DAX calculations and Power BI reports.

DAX Optimizer

From Sqlbi

 

Microsoft Fabric ( Azure Synapse Analytics, OneLake, ADLS, Data Science)

OneLake – External Data Sharing

At #MSIgnite Microsoft announced a new feature in Fabric that allows people from one organization to share data with people from another organization. You might ask yourself why is this even news, and rightly so. Up until last week, professionals have had to use tools like (S)FTP clients like FileZilla, Azure Storage Explorer, WeTransfer or similar products in order to share data. Some of these tools are in fact hard to use and/or understand for a great number of business users – they are familiar with Windows and the Office suite and not much more. This is all to be expected, as business users in general should focus on business stuff rather than IT stuff.

Working With Delta Tables In Fabric Python Notebook Using Polars

Polars provides a happy medium between pandas and spark

Granting Permissions in a Fabric Data Warehouse and Lakehouse

From Simple Talk

We are becoming used to being a bit lazy when granting permissions to Data Warehouses and lakehouses in Fabric. We only go to the workspace level and add the...

Oracle/PostgreSQL/MySQL/other RDBMS

Introduction to Oracle Database for Database Professionals

From Simple Talk

Oracle Database, often referred to simply as Oracl...

MySQL Index Deep Dive: Clustered B-Tree Indexes

B-Tree indexes have multiple types: they can be covering, composite, descending, FULLTEXT, UNIQUE, hash-based, or have something to do with the PRIMARY KEY. B-Tree indexes can also have a clustered form: and that form is what this blog is all about.

Performance Tuning SQL Server

Simulating WAITFOR In Scalar UDFs In SQL Server

From Erik Darling Data

Simulating WAITFOR In Scalar UDFs In SQL Server Thanks for watching! Going Further If this is the kind of SQL Server stuff you love learning about, you’ll love my...

Finding Bad Density Vector Estimates In SQL Server

From Erik Darling Data

Finding Bad Density Vector Estimates In SQL Server Thanks for watching! Going Further If this is the kind of SQL Server stuff you love learning about, you’ll love my...

Explicitly Defining Values in an IN Clause VS Putting Them into a Temp Table and Use a Semi-Join

From SQLServerCentral Blogs

This post comes off the back of my last, where I looked at issues caused by explicitly declaring a large number of values in an IN clause. The query... The...

A Little About Automatic Tuning In SQL Server

From Erik Darling Data

 

PowerPivot/PowerQuery/PowerBI

Migrate your Power BI Semantic Models to Direct Lake

From Guy in a Cube

Want to make your Import or DirectQuery Power BI S...

Introduction to Power BI Deployment Pipelines!

From Havens Consulting

Video by: Reid HavensLearn about the basic benefits of utilizing Deployment Pipelines in Microsoft Fabric / Power BI, saving you time, effort, and reducing complexity for report/model management. Tune...

Product Reviews and Articles

Finding Significant Differences in Flyway SQL Migration Code

From Product learning – Redgate Software

This article demonstrates using PowerShell-based tokenization to compare two SQL migration files. It ignores non-functional changes like comments or formatting and pinpoints the first meaningful change in SQL logic,...

Using the new Flyway Diff commands

From Blog – Redgate Software

Many of my customers are using Flyway Enterprise to create migration scripts that will then be used to deploy database changes. They’ve been using Flyway Desktop, but some of...

Product Upgrades and Releases

Amazon Bedrock Marketplace: Access over 100 foundation models in one place

From AWS News Blog

Discover, test, and use over 100 emerging, and specialized foundation models with the tooling, security, and governance provided by Amazon Bedrock.

SQL Server Diagnostic Information Queries for December 2024

From Glenn Berry

Introduction These are my SQL Server Diagnostic Information Queries for December 2024, aka my DMV Diagnostic Queries. They allow you to get a very comprehensive view of the configuration...

R Language

How to Find Columns with All Missing Values in Base R

Find out how to easily identify columns in your R data frame that contain only missing (NA) values using base R functions. Streamline your data cleaning process with these simple techniques.

How to Interpolate Missing Values in R

Unlock insights from your data by learning how to interpolate missing values in R. Explore practical examples using the zoo library and na.approx() function. Become a master of handling missing data with this step-by-step guide.

Security News and Issues

Detecting Pegasus Infections

From Schneier on Security

 

T-SQL and Query Languages

Properly Rouding Numbers is Important

From DCAC

 

How To Use A Numbers Table To Replace WHILE Loops In SQL Server Functions

From Erik Darling Data

 

You Probably Don’t Need ODBC Functions

From Andy Broadsword

This past week I stumbled across an ODBC Scalar Function for the first time. What was this which lay before me? Is that SQL with curly braces?! It returned...

FIRST_VALUE vs. Min: #SQLNewBlogger

From SQLServerCentral Blogs

I had mentioned some new T-SQL functions for SQL Server 2022 and a commenter asked about the difference between Min() and First_value. This post looks at a few cases.... The...

Import PDF into SQL Server

From MSSQL Tips

This article explores importing form data from a PDF file into a SQL Server database using a Visual Basic Windows Forms App.

Tech News

Where Did My Windows Server's Disk Space Disappear To?

From IT Pro - Microsoft Windows Information, Solutions, Tools

 

Trump Set To Loosen AI Regulations

From Past News - RSS Feeds

In contrast to Biden, President-elect Trump is expected to adopt a hands-off policy toward AI development. The post Trump Set To Loosen AI Regulations appeared first on eWEEK.

Company claims 1,000 percent price hike drove it from VMware to open source rival

From Ars Technica

Cloud provider moved most of its 20,000 VMs off VM...

The search startup trying to turn the web into a database

From Technology Review Feed - Tech Review Top Stories

A startup called Exa is pitching a new spin on generative search. It uses the tech behind large language models to return lists of results that it claims are...

5 Data Management Tool and Technology Trends to Watch in 2025

From Dataversity

The market surrounding data management tools and technologies is quite mature. After all, the typical business has been making extensive use of data to help streamline its operations and...

Microsoft reiterates “non-negotiable” TPM 2.0 requirement for Windows 11

From Ars Technica

Microsoft won't lower Windows 11's requirements to save older Windows 10 PCs.

AWS Education Equity Initiative: Applying generative AI to educate the next wave of innovators

From AWS News Blog

Amazon commits $100M to empower education equity initiatives, enabling socially-minded organizations to create AI-powered digital learning solutions. This aims to reach underserved students globally through innovative platforms, apps, and...

Open Source Software Powers 96% of Modern Applications, New Study Finds

From IT Pro - Microsoft Windows Information, Solutions, Tools

The Linux Foundation's Census III report reveals critical dependencies and growing security concerns in open source software.

How US AI policy might change under Trump

From Technology Review Feed - Tech Review Top Stories

This story is from The Algorithm, our weekly newsletter on AI. To get it in your inbox first, sign up here. President Biden first witnessed the capabilities of ChatGPT in...

Testing Software

Why Startups Can’t Afford ‘Free’ Open Source Testing

Many startups face hidden time costs when relying on “free” open source testing tools.

The Lighter Side

The 2025 BMW i5 M60 review: An EV that makes you want to drive and drive

From Ars Technica

Not quite an electric M5, it's a good driver's car.

A New Word: Fardle-dun

From SQLServerCentral Blogs

fardle-din – n. a long-overdue argument that shakes up a relationship, burning wildly through your issues like a forest fire, which clears out your dry and hollow grievances and... The...

"Pwned", The Book, Is Now Available for Free

From Troy Hunt

 

Two European satellites launch on mission to blot out the Sun—for science

From Ars Technica

This will all happen nearly 40,000 miles above the...

No more EV app folders: Universal plug-and-charge is due to launch in 2025

From Ars Technica

Most of the major EV makers and charging networks are on board.

Four desk-organizing gifts you don’t technically need but might very much want

From Ars Technica

Save space, organize, and automate your desk space with these four doodads.

Virtualization and Containers/Kubernetes

Simple Kubernetes Network Policy to open up a pod port

From youdidwhatwithtsql.com

Below shows a very simple Kubernetes Network Policy object. This simply opens up port 80 to the outside in a locked-down environment. The key tags to understand are run,...

 
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

 

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