Cluster vs non-clustered index in db
In clustered index the rows are stored physically on the disk in the same order as the index. There can therefore be only one clustered index. With a non clustered index there is a second list that has...
View Articlesql server tsql tasks tips
sql server tsql tasks tips remove duplicate entries from table sql server WITH CTE(col1, col2, col3,ranking) AS (SELECT col1, col2, col3,ranking = DENSE_RANK() OVER(PARTITION BY col1, col2, col3 ORDER...
View ArticleSQL Database Coding Standards
SQL Database Coding Standards with C++ Data Types to be used: We should use only following data types: INT BIGINT SMALLINT VARCHAR BIT DATETIME Give default value for BIT datatype. It should not be...
View ArticleNew developer features in SQL Server 2012-2014
New developer features in SQL Server 2012-2014 OFFSET and FETCH clause for ORDER BY WITH RESULT SETS for EXECUTE Improved error handling with THROW New Functions New Query hints Column store index...
View Article
More Pages to Explore .....