.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> .NET Framework >> Post New Question Subscribe to Interview Questions

What is the purpose of an Index in SQL Server.

Posted By :Ashutosh Jha     Posted Date :August 31, 2014    Points :40   Category :.NET Framework 
An index is used when we need a bookmark for our table. They are just used to speed up searches/queries.
Clustered Index:
A clustered index physically sorts the data in a table.The value of a clustered index is a key-value pair,where key is the index key and value is the actual value.

Non- Clustered Index:

A non-clustered index sorts the data logically but not physically.The value of a non-clustered index is not the data but a pointer to the data page.So, we can say a non-clustered index is dependent on the clustered index.In the absence of clustered index, it refers a physical location in the Heap for value.

You can also find related Interview Question to What is the purpose of an Index in SQL Server.  below: 

Disadvantage of Index in Sql Server?

  
It will allocate space in memory for each and every index.

It will increase the weight of the table, hence it would degrade

the performance of the data manipulations like Insert/ Update and

Delete... (More...)

What is the purpose of Linked Server Configuration in Sql Server?

  
It enabled us to query remote database servers of different providers.

Thus we can copy or select table data between multiple servers. (More...)

Database Concurrency in Sql Server.

  
When two or more user try to update same type of data in a table then Database Concurrency helps in this situation.

There are 2 types of Database Concurrency

Pessimistic: When one user try to change the data with pessimistic concurrency then a lock is placed on the data in a table so that another user cannot change data. when one user finishes then other user can able to change.

Optimistic: When two user works on the same data in a table and one change that data first then second user cannot change that same data becasue the which he have using is allready changed so he cannot do the change becasue change apply to another data that is changed by first user. (More...)

Is it true that COM objects no longer need to be registered on the server?

  
Yes and No. Legacy COM objects still need to be registered on the server before they can be used. COM developed using the new .NET Framework will not need to be registered. Developers will be able to auto-register these objects just by placing them in the 'bin' folder of the application. (More...)

What are server controls?

  
ASP.NET server controls are components that run on the server and encapsulate user-interface and other related functionality. They are used in ASP.NET pages and in ASP.NET code-behind classes. (More...)

What is a Index?

  
To execute the Quesry faster (More...)

Which authentication mode lets you use both SQL Server logins and Windows logins?

  
Mixed Mode authentication mode lets you use both SQL Server logins and Windows logins? (More...)

What is an Index?

  
When queries are run against a db, an index on that db basically helps in the way the data is sorted to process the query for faster and data retrievals are much faster when we have an index. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend