SQL Server

LATEST

Security

SQL Server Essentials: How to Create a Simple Backup Job in SQL Server

Last Update: Jul 24, 2023

Creating backups is one of the most important duties of an SQL Server database administrator, and there are a number of different ways to back up your most important databases. In this article, I’ll explain how to create a simple SQL Server backup job using SQL Server Management Studio (SSMS). The different ways to create…

View Article
Business people working on a laptop in a meeting

SQL Server Essentials: Using SQL COALESCE

Last Update: Jul 19, 2023

When working with SQL Server databases, the SQL COALESCE expression is commonly used to detect null values and provide a fallback or default value when dealing with nullable columns or expressions in SQL queries. It’s like a syntactic shortcut for the CASE expression, and it’s typically used to make subsequent calculations easier. In this article,…

View Article
DevOps code

SQL Server Essentials: Using the SQL LIKE Operator

The T-SQL LIKE operator is one of the most useful additions to the SQL SELECT statement. The latter retrieves a result set, and you can easily filter the results using equality operators and the WHERE clause to select certain specific conditions. But what about those times when you might want to select rows that are…

View Article
Security

SQL Server Essentials: Using SQL Joins

Last Update: Jun 12, 2023

In relational databases like SQL Server, the SQL JOIN statement is used to query, connect and retrieve data from multiple tables based on data relationships between those tables. You can use the SQL JOIN statement with two or more tables, and it essentially returns records that have matching values in the different tables. In this…

View Article

Backup and Restore Users on a Remote SQL Database with T-SQL and PowerShell

Last Update: Jun 12, 2023

I’ve added a lot of skills to my tech toolbox over the years, and I’ve found PowerShell to be the most useful addition. As my skills with PowerShell increased, I’ve looked to use it more. That’s a great thing, because PowerShell is so prolific on Microsoft systems today, that in many instances it’s become the primary way…

View Article

How to Design a Backup Strategy in SQL Server

Last Update: Jun 12, 2023

Designing a backup strategy in SQL is fairly straightforward, but it can get complicated when you’ve got a lot of moving pieces in your scenario. Sean McCown, Microsoft SQL MVP, takes the readers through the “best” practices to follow.

View Article
DevOps code

SQL Server Essentials: Using SQL Cross Joins

SQL CROSS JOIN queries are used to generate a paired combination of each row of the first table with each row of the second table. This kind of result is called a Cartesian product. In this article, I’ll show you how to use an SQL CROSS JOIN. How does an SQL Cross Join work? The…

View Article
Security

SQL Server Essentials: Using SQL Self Joins

Last Update: May 15, 2023

A self join in SQL Server is a useful statement to use for demonstrating relationships within a single SQL Server table database. In this tutorial, I’ll show you when and how to use an SQL self join. To do that, I’ll be detailing an sql self join example where I’ll list the supervisors for all…

View Article
Security

Microsoft Introduces SQL Server Information Protection Sensitivity Labels

Last Update: Jul 22, 2022

Microsoft has announced a new data protection feature for its SQL Server tool. The new capability enables organizations to classify and protect SQL Server data with Microsoft Information Protection (MIP) sensitivity labels. If you’re unfamiliar, Microsoft Information Protection is a unified solution that enables customers to discover, classify, and protect data based on its sensitivity…

View Article

New High Availability and Disaster Recovery Features in SQL Server 2019

Last Update: Jun 24, 2022

The latest release of SQL Server 2019 has several important enhancements for high availability (HA) and disaster recovery (DR). Let’s take a look at some of the main HA and DR changes in SQL Server 2019.

View Article
Go to page