Index and Sort Order
When we write the SQL Query we frequently use the ORDER BY clause to get the output in definite order (Ascending or descending). But ORDER BY clause has deep impacts in the performance of the query...
View ArticleScenario based Index type selection
When we are thinking about index we have different options in mid to use them, such as Clustered / Non Clustered etc. It is very important to understand in which scenario what type of Index gives us...
View ArticleIndex and Statistics
Microsoft SQL Server collects statistical information related to indexes and column data stored in the database. These statistics are used by the SQL Server query optimizer to choose the most efficient...
View ArticleRelated to Clustered Index
When we think about the performance factors, the Index plays the main role. In this article I am trying to discuss some points related to CLUSTERD INDEX. The main tropics, that I am trying to highlight...
View ArticleIndex Defragmentation
In this article I am trying to discuss related to the Index defragmentation. I have learned several article related to it and collects and gather the facts related to it. Fragmentation of the Index can...
View ArticleTable Variable with Dynamic SQL
The table variable gives us the high degree of flexibility to work with T-SQL construct. Most of the developer uses the table variable to find the desired solutions due to its simplicities. Here in...
View ArticleFiltered Non Clustered Index
Index is a most important factor for boosting up database performance. Choosing the right index for right columns in the table objects is one of the challenge factors, where performance is the key...
View ArticleTransaction Log and VLF
Transaction log is used for data recovery purpose of the database. A proper understanding of transaction log is very important to managing the transaction log. Point in focus In this article I am...
View ArticleWhy VIEW takes long time to Execute
Here in this article we are discussing related to the performance of the views. Why the performance of the view is slow. Please note that I am not taking about the indexed views, it's another thing and...
View ArticleWhy nVARCHAR
One of my friends ask me a question why use nVARCHAR not the VARCHAR. He also told me when he makes any Table objects by nVARCHAR data types it takes double in length. I try to explain his query by...
View ArticleIDENTITY Columns Violation
We all know about the identity columns of SQL Server and how important it is. This article is related to it but I am representing this article to solving a common proble. First take a quick look about...
View ArticleINNER or LEFT JOIN for Performance
In this article I am trying to discuss a very common scenario that between INNER JOIN and LET JOIN which one is increase the performance and also discuss how to boost the join performance. First look...
View ArticleFill Factor
In my previous article, I am trying to discuss about the MS SQL Server Index and how the Index Boost up the performance of SQL Server Query. Fill Factors is directly related to Index and Index is...
View ArticleIndex of Materialized View Not Working
I got a mail from one of my closed friends related to "Materialized view Index not working". I am little bit confused after getting this mail. When I am getting closer look at the problem that I...
View ArticleAlteration of CURSOR
As we all know that the cursor is a bad performer. We always try to avoid cursor. So the question is how we avoided the cursor? This article give us the demonstration, how to avoid the cursor. In this...
View ArticleLocking Or Versioning
We are looking at database related to concurrent use and how it provides high performance and throughout put with better data security. This collection give u a good idea related to it.
View ArticleExtended Properties
The documentations are an important part for every developer. In this article I am trying to discuss the self-documenting process of database by using extended properties. Before writing this article,...
View ArticleINFORMATION_SCHEMA
When we are taking about any RDBMS, it should be a data dictionary or metadata. MS SQL Server has no exceptions. In MS SQL Server there are two sources to view the metadata information. 1. Various...
View ArticleCROSS APPLY Vs OUTER APPLY
In my previous article "CROSS APPLY on SQL Server 2005", I already mentioned the definition of cross apply with proper example. Reference link related to article "CROSS APPLY on SQL Server 2005"...
View ArticleForeign Key and Index Binding
In this article I am trying to discuss about the foreign key Index binding features. Hope it will be interesting and we can learn something new from it.
View Article
More Pages to Explore .....