T-SQL script to get list of tables which dont have clustered index August 12, 2013 SELECT name AS Table_Name_WithoutClusteredIndex FROM SYS.TABLES WHERE OBJECTPROPERTY(OBJECT_ID,‘TableHasClustIndex’) = 0 ORDER BY NAME GO
Mastering NULLs in SQL Server: ISNULL and NULLIF Explained In SQL Server, ISNULL and NULLIF are two essential functions used to handle NULL values, but they serve very different…
Explanation of SQL Server Error Message – “String or binary data would be truncated” The error message “String or binary data would be truncated” tells we are trying to put a longer string into…
T-SQL script to search a column in all the databases avaliable in an instance of SQL Server Overview We are using the [INFORMATION_SCHEMA]. [COLUMNS] view to get the information about a column and its associated tables available…