Database development

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

Several Ways to Insert Split Delimited Strings in a Column

Database development, Tables

In this article, I will demonstrate several ways to split the delimited string and insert it in into a column of a table in SQL Server. You...
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 their use. I also talked about UNION...
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

SQL Server Database Tables Export and Import Methods

Database development, Tables

When working as a SQL Server database administrator or developer, you cannot live in your isolated SQL Server world without communicating...
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

The Difference Between Primary Key And Unique Key

Constraints, Database development

“What is the difference between a primary key constraint and a unique key constraint?” This is...
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

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 him the current list of customers and...
Read More

SQL Server Bulk Insert – Part 2

Constraints, Database development, Triggers

In the previous part of this article, we discussed how to import CSV files to SQL Server with the...
Read More
Close