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

How to Sort String Date Values on a Power BI Slicer Visual

How to Sort String Date Values on a Power BI Slicer Visual

In this article, we look at how to build a slicer visual in Power BI and how to create a custom sort order for the slicer values.

Large Language Models with Azure AI Search and Python for OpenAI RAG

Large Language Models with Azure AI Search and Python for OpenAI RAG

Infuse Azure SQL data with retrieval augment generation (RAG) for large language models (LLMs) such as GPT to provide answers to complex questions.

Analyzing Unplanned Availability Group Outages and Failovers using AGDiag

Analyzing Unplanned Availability Group Outages and Failovers using AGDiag

Learn how to use the AGDiag tool to troubleshoot and analyze SQL Server Always On Availability Group issues.

Import and Export

SQL Bulk Insert Command ExamplesSQL Bulk Insert Command Examples

Learn about the SQL Server BULK INSERT command and how to use it to import text data in a SQL Server database table.

TSQL

SELECT TOP 10 SQL ExamplesSELECT TOP 10 SQL Examples

In this article, we look at various ways to use SQL SELECT TOP to return a certain number or percentage of rows when selecting data.

Python

Data Quality Management Issues in Time Series Analysis Resolved with PythonData Quality Management Issues in Time Series Analysis Resolved with Python

In this tutorial, we delve into critical aspects of data quality management when working with time-series data and we will use Python to demonstrate.

Temp Tables

Mastering SQL Server Local and Global Temporary TablesMastering SQL Server Local and Global Temporary Tables

In this article, we walk through the syntax for SQL Server local and global temporary tables and also use cases for when and how to use them.

Azure Synapse Analytics

Azure Synapse Analytics and Power BI IntegrationAzure Synapse Analytics and Power BI Integration

In this article, learn how to integrate Power BI reports with data from Azure Synapse Analytics in this step-by-step tutorial.

Microsoft Fabric

Microsoft Fabric Lakehouse OPTIMIZE and VACUUM to Cleanup Parquet FilesMicrosoft Fabric Lakehouse OPTIMIZE and VACUUM to Cleanup Parquet Files

In this article, we will explain how the OPTIMIZE and VACUUM commands can assist in maintaining the tables in the Microsoft Fabric Lakehouse.

Python

Python String Function Examples - Concatenate, Split, Replace, Upper, LowerPython String Function Examples - Concatenate, Split, Replace, Upper, Lower

Learn how to manipulate strings in Python with these string functions: concatenate, split, replace, upper, lower, and more.

Professional Development Certifications

AZ 104 Exam Preparation for Microsoft Azure AdministratorsAZ 104 Exam Preparation for Microsoft Azure Administrators

Get ready for and pass the Microsoft Azure Administrators AZ-104 Exam with this study guide with lots of useful resources.

DevOps

How to use GitHub Actions to Deploy Database Changes After a CommitHow to use GitHub Actions to Deploy Database Changes After a Commit

In this article, we look at how to use GitHub Actions to deploy database changes after a commit to the Main branch in a GitHub repository.

SQL Server Management Studio Configuration

SQL Server Management Studio Dark ModeSQL Server Management Studio Dark Mode

Learn how to configure SQL Server Management Studio to use dark mode in this step by step article.

Database Configurations

SQL Server Connection Strings using SqlClient, OLDEDB and ODBCSQL Server Connection Strings using SqlClient, OLDEDB and ODBC

In this article we look at different ways to define a connection string to connect to SQL Server using SqlClient, OLDEDB and ODBC connections.

Functions System

Different Ways to Format Currency Output in SQLDifferent Ways to Format Currency Output in SQL

In this article we look at different ways to format currency output in SQL Server and most notably the different options the FORMAT function provides.

Tutorial

Dynamic Management ViewsDynamic Management Views

Dynamic Management Views also known as DMVs provide insight into SQL Server to assist with troubleshooting and monitoring

Tutorial

Command line deployment tool for SSIS packagesCommand line deployment tool for SSIS packages

SQL Server includes the command line tool DTUTIL.EXE which can be used to deploy SSIS packages.

Tutorial

SQL Server INSERT command with variablesSQL Server INSERT command with variables

Learn how to use variables to build INSERT statements.

Whitepaper

How to Build a SANless SQL Server Failover Cluster Instance in Google Cloud PlatformHow to Build a SANless SQL Server Failover Cluster Instance in Google Cloud Platform

Learn how to build a SQL Server Failover Cluster Instance (FCI) on the Google Cloud Platform (GCP).

Webcast

Advanced SQL Data Profiling with UnisonAdvanced SQL Data Profiling with Unison

In the age of data-driven insights, the quality and reliability of your data can make all the difference. Join us in this webinar as we delve into t

Webcast

SQL Server + AMD in the era of AI: Accelerated performance and the next wave of innovationSQL Server + AMD in the era of AI: Accelerated performance and the next wave of innovation

SQL Server 2022 with AMD technologies enables incredible performance in the era of AI, including: faster performance, Advanced Vector Extension and Mi