An alternative for Index with Include: CLUSTERED (UNIQUE) Index

Indexes are good and helpful for reading from the tables and one can add different indexes based on any kind of queries that are going to be issued against the tables and make sure they always hit indexes, not the table. But that strategy has a drawback: it'll slow down inserts into the table because … Continue reading An alternative for Index with Include: CLUSTERED (UNIQUE) Index

SSIS, Tempdb Database, and SQL Server Log Files

The tempdb system database is a global resource that is available to all users connected to the instance of SQL Server. Tempdb is re-created every time SQL Server is started, which means the system always starts with a clean copy of the database and there is never anything in tempdb that is saved from one … Continue reading SSIS, Tempdb Database, and SQL Server Log Files

Get tables and their data without backing up the database: SQL Server 2008 R2

There may be situations when you want to get all of the tables in a SQL Server database and the data they currently hold, but you can't (because of permissions assigned to your account, for example) or don't want to backup the whole database. Well, follow the following steps to achieve this: 1- Open SSMS … Continue reading Get tables and their data without backing up the database: SQL Server 2008 R2