Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create an identity column?

1301


Data is not being delivered to subscribers, what can be the possible reasons? : sql server replication

1104


Mention the command used to rename the database.

1051


How to insert a new row into a table with "insert into" statements in ms sql server?

1016


What is the name of the system variable that returns the number of rows affected by a SQL statement?

1067


How to declare and use cursor variables?

1252


What authentication modes does sql server support?

1149


How should i optimize the time for execution of stored procedure having single input and many output from the different tables?

1960


What are the disadvantages of merge replication?

1512


What is the function of sql server agent windows service?

1148


how can a database be repaired? : Sql server administration

1018


How to rebuild the master database?

1138


List out some of the requirements to set up a sql server failover cluster?

1076


What is temporal table?

937


How would you choose between a clustered and a non-clustered index?

1019