SQL Server Tips, Articles and Training

MSSQLTips.com delivers SQL Server resources to solve real world problems for DBAs, Architects, DevOps Engineers, Developers, Analysts, Cloud and Business Intelligence Pros - all for free. The content we serve is all human written and based on our authors' real-world experience. Check out tips, articles, scripts, videos, tutorials, live events and more all related to SQL Server on-premises and in the cloud.


Today's Resources

Troubleshoot SQL Server Always On Availability Groups with SQL LogScout

Troubleshoot SQL Server Always On Availability Groups with SQL LogScout

Learn about SQL LogScout which is a log analysis tool to help troubleshoot SQL Server errors by using the available log files on the system.

Read Data Stored in a Lake Database using Azure Synapse Analytics

Read Data Stored in a Lake Database using Azure Synapse Analytics

In this article, we look at how to read data stored in a lake database using Azure Synapse Analytics to help reduce overall Azure costs.

SQL Server Agent Jobs, Automation and Email Notification

SQL Server Agent Jobs, Automation and Email Notification

Learn how to set up, create jobs, and send email notifications using SQL Server Agent.

Cloud Strategy

Serverless Microservice Computing Concepts and ArchitectureServerless Microservice Computing Concepts and Architecture

Learn about the concept of serverless microservices and how this architecture could be used to support your applications.

Python

Time Series Forecasting using Python ProphetTime Series Forecasting using Python Prophet

Learn how to use the Python library Prophet for time series forecasting to predict a target variable over a period.

Replication

SQL Replication Error - the row was not found at the Subscriber when applying the replicated UPDATE commandSQL Replication Error - the row was not found at the Subscriber when applying the replicated UPDATE command

Learn how to fix replication error the row was not found at the Subscriber when applying the replicated UPDATE command for Table with Primary Key(s).

TSQL

SQL Quick Reference GuideSQL Quick Reference Guide

This guide outlines aspects of working with SQL along with several links to resources to help you better understand how to use the SQL language.

Power BI

Rank and Sort Data Based on Multiple Columns in Power BI with DAXRank and Sort Data Based on Multiple Columns in Power BI with DAX

This article describes two approaches to allow you to rank and sort data based on multiple columns in Power BI.

Power BI

Power BI Calculations without Complex DAX using Power Query EditorPower BI Calculations without Complex DAX using Power Query Editor

Learn how to use the standard calculation options in the Power Query Editor of Power BI without having to write complex DAX calculations.

TSQL

SQL FROM Query Examples and SyntaxSQL FROM Query Examples and Syntax

Learn about the SQL FROM clause to create tables, alter tables, views, aliases, join tables, subqueries, and DELETE FROM in queries.

Artificial Intelligence

Google Gemini - Generative AI Tool for SQL ProfessionalsGoogle Gemini - Generative AI Tool for SQL Professionals

This article looks at using Google's artificial intelligence tool Gemini to build and explain T-SQL code.

Professional Development Certifications

AZ-500 Microsoft Azure Security Exam Study GuideAZ-500 Microsoft Azure Security Exam Study Guide

Check out this article for lots of study links and resources to help you pass the Microsoft exam AZ-500 Microsoft Azure Security Technologies.

Functions System

Multiple Ways to Concatenate Values Together in SQL ServerMultiple Ways to Concatenate Values Together in SQL Server

In this article we look at how to concatenate SQL Server data using various methods using concatenation operator, functions CONCAT and CONCAT_WS.

Functions System

Format numbers in SQL ServerFormat numbers in SQL Server

In this article we cover different ways to format numbers in SQL Server using various functions like CAST, CONVERT, ROUND, CEILING, FLOOR and FORMAT.

Functions System

SQL WAITFOR Command to Delay SQL Code ExecutionSQL WAITFOR Command to Delay SQL Code Execution

In this article, we look at the SQL Server WAITFOR command to allow delays in processing either for a specified time or a set amount of time.

Tutorial

Eliminating bookmark (key/rid) lookupsEliminating bookmark (key/rid) lookups

Lookups occur when not all of the data is pulled at the same time. We look at when this occurs and how you can improve performance.

Tutorial

INFORMATION_SCHEMA.COLUMNSINFORMATION_SCHEMA.COLUMNS

The INFORMATION_SCHEMA.COLUMNS view allows you to get information about all columns for all tables and views within a database.

Tutorial

SQL CHARINDEX Function Use and ExamplesSQL CHARINDEX Function Use and Examples

Learn how to use the SQL Server CHARINDEX function along with several examples of how this might be used.

Whitepaper

Calculating Costs for Microsoft SQL ServerCalculating Costs for Microsoft SQL Server

This white paper looks at how costs can be controlled with a sufficient understanding of the Microsoft SQL Server licensing process.

Webcast

Evolution of Data Analytics - What You Should KnowEvolution of Data Analytics - What You Should Know

Learn about the evolution of the data platform architecture from data warehouses to data lakes to data lakehouses to unlock insights quicker.

Webcast

Microsoft Fabric: What it is and why you would use itMicrosoft Fabric: What it is and why you would use it

Learn about Microsoft Fabric and whether this platform is the right choice for your data environment.