what is the use of database index(apart from the last
searching of records) and what is the use of composite key?



what is the use of database index(apart from the last searching of records) and what is the use o..

Answer / brijesh kumar

Index is used for fast retrival data from a table. There are
two types of index
1.clustered Index
2.Non-clustered Index
1. clustered index is created on primary key and it can be
only on per table
2.Non-clustered Index can be created any column and it can
be more than one in a table

Composite key:- Composite is the combination of more than
one attribute composite key is created when it is not
possible to identify any column in a table that has unique
value in such
a situation combination of more than column is chosen by
which
record can be identify easly clear it is just like primary
key.

Is This Answer Correct ?    12 Yes 0 No

Post New Answer

More SQL Server Interview Questions

What are temporal tables in sql server 2016?

0 Answers  


What do you understand by a stored procedure?

0 Answers  


What is the difference between MVC and Teir Architecher? Plz explain with Layyered Programming example...? Thanks

0 Answers   TCS,


What are constraints in microsoft sql server?

0 Answers  


How do you use a subquery to find records that exist in one table and do not exist in another?

0 Answers  






What is 1nf 2nf and 3nf?

0 Answers  


What is the difference between stored procedure and user defined functions?

0 Answers  


what is sql server? : Sql server database administration

0 Answers  


How to use values from other tables in update statements in ms sql server?

0 Answers  


What is one of the first things you would do to increase performance of a query? For example, a boss tells you that ?a query that ran yesterday took 30 seconds, but today it takes 6 minutes?

2 Answers   Accenture, Merrill Lynch, Wipro,


what operator performs pattern matching?

2 Answers  


How we Resize table,temp table, database and log file size in SQL Server 2005

1 Answers   ABC,


Categories