DATEADD Function in SQL Server

DATEADD Function in SQL Server

In this SQL Server tutorial, I will explain the DATEADD function in SQL Server, which allows us to manipulate the date part. This function is very useful in situations where you need to quickly compute the age of employees, schedule events, etc. First, you will understand its definition with syntax, and then, with examples, you … Read more

ISDATE Function in SQL Server

ISDATE Function in SQL Server Checking Valid Datetime Value

In this SQL Server tutorial, you will understand how to use the ISDATE function in SQL Server. First, I will explain the ISDATE function in SQL Server, its syntax, and how to use it. With an example, you will understand how it works or how it evaluates the given value. Then, you will use the … Read more

QUOTENAME function in SQL Server

QUOTENAME function in SQL Server with Variable

In this SQL Server tutorial, you will learn how to put the character around the string using the QUOTENAME function in SQL Server. You will understand how the QUOTENAME() function works and why you should use it. Then, with an example, you will understand how it wraps the string with characters. You will use the … Read more

TRANSLATE Function in SQL Server

TRANSLATE Function in SQL Server

In this SQL Server tutorial, you will learn the TRANSLATE function in SQL Server, which helps replace the substring with a new string. Then, you will understand the ‘What exactly is the TRANSLATE () function?’ with syntax; after that, you will do a simple example to understand the workings of the TRANSLATE() function. Using an … Read more

COUNT_BIG Function in SQL Server

COUNT_BIG Function in SQL Server Tables

In this SQL Server tutorial, you will learn about the COUNT_BIG function in SQL Server. First, you will understand the COUNT_BIG() function, then the difference between the COUNT() and COUNT_BIG() functions. After that, the syntax of the COUNT_BIG() function. Then, you will learn how to use the COUNT_BIG() function with duplicate and unique table column … Read more

GROUPING_ID Function in SQL Server

GROUPING_ID Function in SQL Server

In this SQL Server tutorial, you will learn about the GROUPING_ID function in SQL Server to identify the rows where the aggregation operation is applied. You will understand the GROUPING_ID() function with its syntax and know how it works through an example. GROUPING_ID Function in SQL Server The GROUPING_ID function in SQL Server is used … Read more

STUFF Function in SQL Server

Formatting Date Value using STUFF Function in SQL Server

In this SQL Server tutorial, I will explain how to use the STUFF function in SQL Server, which helps in string manipulations. I will begin to describe the ‘What is STUFF() function?’ with syntax, and with examples, you will understand how it manipulates the string. Then, you will use the STUFF() function to format the … Read more

TRIM Function in SQL Server

TRIM Function in SQL Server Checking Trimmed String Length

In this SQL Server tutorial, you will understand how to manipulate the string using the TRIM function in SQL Server. Here, using the TRIM() function, you can clean the string that contains unnecessary characters or remove spaces from the string. First, you will learn ‘What is the TRIM() function?’ with syntax. For example, I will … Read more

SPACE Function in SQL Server

SPACE Function in SQL Server Combining String with Spaces

In this SQL Server tutorial, I will explain the SPACE function in SQL Server, which helps generate spaces. First, I will describe the SPACE function in SQL Server with an example, then the syntax of this function. After this, several examples to clear your concept of how the SPACE() function works. While doing this example, … Read more

DIFFERENCE Function in SQL Server

DIFFERENCE Function in SQL Server Same Phonetic Sound

In this SQL Server tutorial, you will learn about the DIFFERENCE function in SQL Server. The DIFFERENCE() function helps in data matching based on the sound of the data. First, you will be introduced to the DIFFERENCE() function and how it finds the difference between strings. Then, the syntax of the DIFFERENCE() function. After that, … Read more