Database development

How to Use SQL Server T-SQL Function SUM: 5 Use Cases

Database development, Statements

The T-SQL SUM function is one of the fundamental functions. Its purpose is to calculate the sum of...
Read More

SQL Server Resumable Index: Is it good for you?

Database development, Indexes

SQL 2017 introduced the ability to pause and resume index rebuild operations during database maintenance. This feature offers more...
Read More

SQL SELECT DISTINCT: Performance Best Practices

Database development, Statements

Is SQL DISTINCT good (or bad) when you need to remove duplicates in results? Some say it’s good and add DISTINCT when...
Read More

SQL OR Statement: The Basics

Database development, Statements

Now and then, you need to create a complex SQL query using multiple statements together. While...
Read More

How to Use SQL SUM Function

Database development, Statements

SQL is a powerful and widely-used programming language for data storage, retrieval, and manipulation. One of the most commonly-used...
Read More

How to Get Tables Information in SQL Server via Stored Procedure

Database development, Stored Procedures

As a database administrator, developer, or data analyst, understanding the structure and details of your SQL Server database tables is...
Read More

How to Show List of Indexes in SQL Server using Stored Procedure

Database development, Stored Procedures

As SQL Server DBAs, we’ve heard that index structures can dramatically improve the performance of...
Read More

User-Defined Functions in SQL Server

Database administration, Database Optimization & Structure, SQL Server, Statements

User-defined functions in SQL Server (UDFs) are key objects that each developer should be aware of. Although they are very useful in many...
Read More

SQL BETWEEN-Smart Tips to Scan for a Range of Values

Database development, Statements

SQL BETWEEN is an operator used to specify a range of values to test. The returned value can be inclusive or within the range. Or it can be...
Read More

SQL Server ORDER BY Clause: The 5 Do’s and Don’ts to Sort Data Like a Pro

Database development, Statements

Ugly. That’s what unsorted data looks like. We make data easy for the eyes by sorting them. And...
Read More
Close