Tag: t-sql

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

Basic and Complex Uses of Not Equal Comparison Operator in T-SQL

Languages & Coding, T-SQL

This article is focused on the T-SQL Not Equal comparison operator (<>) and its uses in basic to slightly complicated SQL scripting...
Read More

T-SQL SET Operators Part 1: UNION and UNION ALL

Languages & Coding, T-SQL • One Comment

In SQL Server, we can combine the same type of data from multiple tables using SET operators. After combining multiple SQL statements, it...
Read More

Using Trace Flag 3226 to Suppress Log Backup Logging

Database administration, Transaction Log

Introduction Every backup operation in SQL Server is written to the SQL Server Error log. This...
Read More

Overview of DBCC SHRINKFILE Command

Database administration, Database development, Statements, Troubleshooting Issues

Running DBCC Shrink commands is quite a controversial issue across the SQL Server community. In this article, we will review details about...
Read More

Overview of DBCC CheckDB Function

Database administration

Introduction Regular database maintenance is an important part of a Database Administrator’s job which helps to ensure that critically...
Read More

Replacing SQL Cursors with Alternatives to Avoid Performance Issues

Database administration, Performance Tuning, Troubleshooting Issues

In this article, we’ll look at some alternatives to using SQL cursors which can help...
Read More

Advanced SQL: CROSS APPLY and OUTER APPLY

Database development, Statements

In this article, we’ll look into the “APPLY” operator and its variations – CROSS APPLY and OUTER APPLY along with examples of...
Read More

How to use SQL Cursors for Special Purposes

Database administration, Languages & Coding, T-SQL

This article describes SQL cursors and how to use them for some special purposes. It highlights the importance of SQL cursors along with...
Read More

Concatenation in Transact-SQL

Languages & Coding, Statements, T-SQL

Introduction Assuming you maintain a table containing customer data, and your boss asks you to send...
Read More
Close