| The Complete Weekly Roundup of SQL Server News by SQLServerCentral.com | Hand-picked content to sharpen your professional edge |
| Cyber Insurance for War Is the United States at war in cyberspace with other countries? It's the claim that a few insurers made when US-based Merck filed a claim after a 2017 cyberattack. The company filed a $700mm-ish claim, and the insurers rejected this saying that the attack was an act of war by Russian government operatives. If a factory were disrupted in the real world by actual government operatives (soldiers, spies, etc.), then it likely would be considered an act of war, but in cyberspace, who knows. Actually, in cyberspace, who really knows who is whom, and for who they work? Maybe we don't even know who "they" are in many cases. Bruce Schneier wrote a piece on this, talking about a possible solution of using a government backstop that would provide some assistance or coverage that insurers might not be able to cover. While that sounds good if you have a claim, as a citizen, I think this likely encourages more attacks from others, whether they are nation-states or individuals. If someone thinks they might create a spending crisis in a country, maybe they would mount many attacks that are disguised as coming from a foreign nation and cause a government spending issues. The United States has a scale issue, but this could cause similar issues in many smaller countries if this were a way of doing business. Perhaps this might also cause some economic issues if companies don't want to do business in places where they aren't covered. However, this might not be a big issue as more insurers are starting to carve out exceptions in their coverage for these types of attacks, so if your organization is hacked by a supposed nation-state, you aren't covered. I suspect this will also start to extend to other exceptions, such as having unpatched (or incompletely patched) systems, poor policies or just incompetent employees, lack of security scans, and more. In some sense, I would hope that some of these attacks will force, or at least pressure, many organizations to take security more seriously. At the same time, as someone dealing with these changes, it can be inconvenient and a blow to productivity as I struggle to adapt to changes in policy, protocol, and procedure. Some are easy, like locking my home machine. Some are more challenging and frustrating as I try to share more content inside the company. It's good, but it's frustrating. Cyberattacks and cybersecurity are increasingly a part of our lives as technology professionals and I urge you to spend a little time learning about the field. If you want a fun challenge, try the Advent of Cyber 2023 is still up as of this writing. I went through it and it was a fun (and scary) way to learn a few things about security, vulnerabilities, and tools out there. 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. |
AI/Machine Learning/Cognitive Services |
As organizations infuse trustworthy practices into the fabric of AI systems, remembering that trustworthiness should never be an afterthought is important. Pursuing trustworthy AI is not a distant destination... |
These best practices will help safeguard organizations' generative AI implementations. |
Administration of SQL Server |
The larger a database grows, the more difficult it... |
Lately, I’ve seen many people struggling to upgrade their workstation to the latest version of SQL Server. The main source of the problem is usually the web installer/wrapper, which... |
Azure Databricks, Spark and Snowflake |
Monitoring is important, so I’ve covered the topic a few times in the past. I’ve talked about collecting your Spark application logs and Spark metrics. These are a good way to track what is happening and what is going wrong as your code runs. In the video related to this post I focus on a different side of monitoring. The evolving capabilities offered by Databricks System Tables. |
Symptoms: When attempting to add database to a f... |
Azure SQL Managed Instance |
A common setup when leveraging the cloud is to use the cloud for Disaster recovery (DR) purposes, some say it becomes a logical extension of your on-prem / data... The... |
Career, Employment, and Certifications |
Systems generally cost money, there is rarely any escape from that. Whether that is down to license costs or platform hosting costs... |
As someone who has spent over 20 years in the Soft... |
I try to keep an eye on the Humble Bundle bundles for books. The bundles serve two great purposes: I was able to grab the Cybersecurity bundle, but by... The... |
You can now better manage your changing workload demands by using capacity reservation groups. |
Recently I have been working with some queries in Postgres where I noticed either it has decided not to use an index and perform a sequential scan, or it decided to use an alternative index over a composite partial index. This was quite puzzling, especially when you know there are indexes in the system that can perform these queries faster. |
Azure Site Recovery now supports enabling replication for data disks that you add to a VMware VM that's already enabled for disaster recovery. |
You may have heard of Azure Data Explorer - but do you know what it does? Do we know the best ways to use it (and the ways we... |
Cloud migration is the process of moving workloads from on-premises or legacy systems to the cloud. It can be a complex and lengthy process, depending on the size and... |
Computing in the Cloud (Azure, Google, AWS) |
Here are six subtle issues to keep an eye on to pr... |
Conferences, Classes, Events, and Webinars |
The Calls for Speakers & Program Committee Volunteers for PASS Data Community Summit 2024 are officially open! |
SQLBI Days are one-day lectures of various levels,... |
You’ve got production databases in SQL Server or Azure SQL DB, and you want to make ’em faster. You need to identify the database’s bottleneck, prove the root cause,... |
SQLBits 2024 is next month, and the session agenda is out, including the Microsoft-led sessions. If you’re going to get the boss to buy you an online or in-person... |
In GUI-based PowerShell scripts, a problem can arise when you combine GUI components with traditional PowerShell code. Here’s the solution. |
Identifying and Understanding Business Problems for Data Scientists, provides a practical guide to uncovering and defining business challenges. First appeared on Identifying and Understanding Business Problems for Data Scientists |
Outliers are unique in that they often don’t play by the rules. These data points, which significantly differ from the rest, can skew your analyses and make your predictive models less accurate. Although detecting outliers is critical, there is no universally agreed-upon method for doing so. While some advanced techniques like machine learning offer solutions, in this post, we will focus on the foundational Data Science methods that have been in use for decades. |
This is my distillation of two lectures from Stanford’s CS221 Autumn 2017 (when I took it), as notes for myself to refer to. Hopefully you find them helpful too!... |
Code documentation is a detailed explanation of how the code works. It is a comprehensive guide that helps developers understand and use the code effectively. It is like a... |
Database Design, Theory and Development |
We're researching some ideas that would help to improve Redgate's database deployment capabilities and, as part of this, have created a short survey for all users. The survey has 8 questions and should take less than 5 minutes to complete. |
DocumentDB/Key-Value/Graph/other NoSQL Databases |
MongoDB is a document database. As such, the data is stored as individual documents. A document is a data structure made up of one or more field/value pairs. Nearly everything you do in MongoDB is either directly or indirectly related to the documents that you store in a database or move in and out of a database. The better you understand how documents work, the more effectively you can write queries and manage the data. In this article, I'll give you a sense of how documents are constructed and the different types of data they can contain, and will provide several examples that demonstrate some of the ways you can define documents to meet your specific business needs. |
ETL/SSIS/Azure Data Factory/Biml |
When executing packages for SSIS the default option would be to use the SQL Server Agent service account. We might not want to share an account between our services... |
The February 2024 release of Power BI Desktop incl... |
The right title for this blog post should be “Gu... |
Learn restrictions and workaround in using the USERELATIONSHIP function with row-level security in a semantic model for Power BI and Analysis Services. |
Microsoft Fabric ( Azure Synapse Analytics, OneLake, ADLS, Data Science) |
If you have used Spark in Azure Synapse, prepare to be pleasantly surprised with the compute experience in Microsoft Fabric as Spark compute starts a lot faster because the underlying technology has changed. The Data Engineering and Data Science Fabric experiences include a managed Spark compute, which like previous Spark compute charges you when it is in use |
I have published videos and articles before about Lakehouse maintenance. In this article I want to address a missing point for a lot of Fabric administrators: How to do maintenance on multiple lakehouses that are located in different workspaces. |
Who needs NOCODE? Patrick takes you on a journey w... |
Microsoft is backtracking on its plans to block no... |
Oracle/PostgreSQL/MySQL/other RDBMS |
PostgreSQL continues to dominate in growth and int... |
A boolean value should only contain two values, True or False, but is it correct? Usually people assume so, but sometimes miss the fact that there could be the... |
Introduction I recently came across this email... |
Sometimes, when you are working on a migration to PostgreSQL, you can encounter features that do not exist in PostgreSQL. This especially happens when we do not have any... |
Learn about the different options and settings and how to create a database in PostgreSQL. |
Performance Tuning SQL Server |
Selectively Numb The sort of wonderful thing about... |
Why Multiple Seeks Are Slower For Some SQL Server ... |
PowerPivot/PowerQuery/PowerBI |
When organizing our SDLC (Software Development Lif... |
If you ever want to have a general report for sale... |
Video by: Reid HavensLearn how to turn a native bar or column chart into a variance chart that compares against two values. This technique leverages the new overlap feature... |
Introduction Welcome to today’s tutorial where we dive into the powerful capabilities of the Power BI Tips+ Theme Generator. In this post, we won’t just download a project from... |
Power BI Semantic Models have a property called Available In MDX. Each field in the model has this property and we can only see or change its value through... |
Hybrid tables – tables which contain both Import mode and DirectQuery mode partitions to hold data from different time periods – have been around for a while. They are... |
Product Reviews and Articles |
One of the things I had to do recently in a demo w... |
Imagine you conceive an idea which will save your company millions of dollars, reduce workplace injuries, and increase sales. Now imagine company executives dislike the idea because it seems... |
Databases are the backbone of enterprise-level organizations, facilitating efficient data management, supporting critical business processes, and providing a foundation for secure innovation and growth. Effective database monitoring is critical... |
Shill Alert Manning did provide me a free copy of this book. This came with no pre-conditions, so all opinions are my own and I’ve provided none of this... |
I have been a proponent of subsetting databases in dev/test for a long time. It took awhile, but as part of the Test Data Manager that Redgate launched at... The... |
A customer recently asked about using FKs in SQL Data Generator, and I decided to write a short post showing how these work. The Scenario I’ve got a copy... The... |
A brief overview of the benefits and challenges of automated testing and how Redgate’s Test Data Manager can help. Automated testing uses software tools to execute predefined tests on... The... |
Product Upgrades and Releases |
Within the past 4 months, we’ve had 2 minor rele... |
Azure Data Studio is a cross-platform database too... |
Encryption at host for Premium SSD v2 and Ultra Di... |
New this month: better sp_BlitzIndex performance on databases with tens of thousands of objects, sp_DatabaseRestore can run test scripts, and David Wiseman and Sean Killeen implemented basic automated testing... |
Since we launched Hyperscale elastic pools preview at Build 2023, many customers have adopted it to achieve significant price-performance optimization of their Hyperscale databases. Today, we are pleased to announce that... |
Public preview enhancements and updates released for Azure SQL in late-February 2024. |
Azure Database for PostgreSQL – Flexible Server now supports minor versions 16.1, 15.5, 14.10, 13.13, 12.17, 11.22 |
Now you can use Azure SDKs including .NET SDK, Go SDK, Java SDK, JavaScript SDK, and Python SDK to manage the lifecycle of Azure Cosmos DB for PostgreSQL clusters. |
You can now use Azure CLI to manage the whole lifecycle of Azure Cosmos DB for PostgreSQL clusters from provisioning to scaling to configuration changes and starting/stopping cluster compute. |
Want to produce a large sequence of values in Python without storing them in memory at once? A generator function is what you need. |
A loop is a portion of code that repeats a set number of times until a desired process is complete. Here's how to do loops in Python. |
Ever wondered what kind of information your data holds in R? Knowing the data type is crucial for performing the right analysis and avoiding errors. This post will equip you with the skills to check data types in R, making your coding journey smoother and more efficient. |
SQL Server Security and Auditing |
Learn about SQL Server and Azure SQL Database secu... |
Many organizations are interested in using passkey... |
NIST has released version 2.0 of the Cybersecurity... |
In the first week of January, the pharmaceutical giant Merck quietly settled its years-long lawsuit over whether or not its property and casualty insurers would cover a $700 million... |
New research: LLM Agents can Autonomously Hack Web... |
T-SQL and Query Languages |
Nearly a decade ago, I wrote a post called “Bad habits : Counting rows the hard way.” In that post, I talked about how we can use SQL Server’s metadata to instantly retrieve the row count for a table, which is great when you want to count the whole table without size-of-entire-table reads, but gets more complicated if you need to retrieve the count of rows that meet – or don’t meet – some criteria. Sometimes an index can help, but not always, depending on how complex the criteria might be. |
String manipulation is an inevitable task for deve... |
For this week’s query exercise, let’s start wi... |
One of the first things you learn when working wit... |
So Many Choices SQL Server is full of landmines options when you’re writing queries. For most queries, you don’t need much beyond the basics. Think of your standard CRUD... |
The IT sector sees resilient growth in diversity, ... |
This comprehensive guide provides steps for successfully migrating from VMware to an alternative platform for running virtual machines. |
It's no surprise that organizations are looking to... |
“This is one of the least visited places on planet Earth and I got to open the door,” Matty Jordan, a construction specialist at New Zealand’s Scott Base in... |
In the ever-evolving landscape of customer experiences, AI has become a beacon guiding businesses toward seamless interactions. While AI has been transforming businesses long before the latest wave of... |
Hainikoye hits Accept and a young woman greets him... |
aesthosis– n. the state of feeling trapped insid... |
At a showroom in a Boston suburb, Patrick Elisha s... |
As she walks across Foray’s lab on the third flo... |
Imagine this: you have several directories full of SQL script files, and you need to know where a certain table is used. You’d rather like the context too, so you can check the whole SQL Expression and work out why it is running so slowly. To do this, you'll need a tool that is able to recognise and return a collection of strings representing the SQL code, divided up into the respective components of the SQL language. For this article, we’ll use a PowerShell cmdlet, called Tokenize-SQLString. |
Tools for Dev (SSMS, ADS, VS, etc.) |
The second post in our series about SQL Server Management Studio (SSMS) coincides with the SSMS 20 Preview 1 release – now available! However, before you download and install... |
Let’s say you have the Red Hat YAML extension. T... |
SSMS Right Click To Open Execution Plans In A New Tab Vote for my great idea here. Sort of odd, I have no idea how this idea ended up... |
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. |
|
|