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...
Read More

How to Automate SQL Database Maintenance Tasks using SQLCMD

Automation, Database administration

This article is about automating SQL database maintenance tasks through SQLCMD utility which lets you run T-SQL commands directly from the...
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 probably the most frequently-asked job...
Read More

How to Export Data to Flat File with BCP Utility and Import data with Bulk Insert

Database administration, Work with data

The BCP (Bulk Copy Program) utility in SQL Server allows database administrators to import data...
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 avoid performance issues caused by using...
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...
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 him the current list of customers and...
Read More

Running SQL Database Maintenance Tasks Using SQLCMD

Database administration

This article is about developing an advanced understanding of the Sqlcmd utility which lets you run...
Read More
Close