Working with SQL Nexus

Working with SQL Nexus

SQL Nexus is a very useful utility that helps to identify SQL Server performance issues, by visualizing data logs using chart and reports. You can read how to collect diagnostics data using pssdiag in my previous article here. Before you install SQL Nexus, you must be...

List Heap Tables

Heap table are the tables which they don’t have any  clustered index. : -- List all heap tables SELECT SCH.name + '.' + TBL.name AS TableName FROM sys.tables AS TBL INNER JOIN sys.schemas AS SCH ON TBL.schema_id = SCH.schema_id INNER JOIN sys.indexes AS IDX ON...