Tag: sql

Basics of SQL Server Task Automation

Automation, Database administration

This is an introductory article about automation in SQL server primarily focused on the basic...
Read More

T-SQL Regular Expression: LIKE Operator and Its Use-Cases

Languages & Coding, T-SQL • One Comment

A Regular Expression (Regex) is a rule defining how characters can appear in an expression. In essence, it is a sequence of characters or...
Read More

Calculate the median by using Transact SQL

Languages & Coding, T-SQL

The statistical median is the value which separates a dataset into halves – one comprises greater values, and the other comprises...
Read More

Parameter Sniffing Primer

Database development, Stored Procedures

Introduction Developers are often told to use stored procedures in order to avoid the so-called ad...
Read More

Auto Create Statistics and Auto Update Statistics

Languages & Coding, SSMS, T-SQL, Tools & technologies

Statistics comprises lightweight objects that are used by SQL Server Query optimizer to determine the optimal way to retrieve data from the...
Read More

Learn Basic Data Analysis with SQL Window Functions

Database administration, Work with data

This article is about T-SQL (Transact-SQL) Window functions and their basic use in day-to-day data analysis tasks. There are many...
Read More

T-SQL SET Operators Part 2: INTERSECT and EXCEPT

Database development, Statements, T-SQL

In my previous article, I explained the basics of set operators, their types, and prerequisites for...
Read More

How to Properly Use the T-SQL IsNumeric Function

Languages & Coding, T-SQL

This article is focused on the T-SQL (Transact-SQL) IsNumeric function and its proper use in day-to-day SQL scripting tasks. We will also...
Read More

T-SQL Datetime Data Type

Database administration, Work with data

Introduction Data types are attributes that specify the kind of data that objects such as columns, local variables, expressions, and...
Read More

Advanced SQL: Variations and Different Use cases of T-SQL Insert Statement

Database development, Languages & Coding, Statements, T-SQL

In my previous article, I demonstrated: Insert the output of the table-valued function in the SQL...
Read More
Close