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 are different types of Keys? Please explain all the
keys with a suitable example.

Answer Posted / abdul malik(new college)

keys-A key allows us to identify a set of attributes and
thus distinguishes entities from each other.keys also help
uniquely identify relationships,and thus distinguishes
relation with each other.
different types of keys:
(i)super key
(ii)candidate key
(iii)primary key
(iv)unique key
(v)foreign key
sk-it is a set of one or more attributes that allows us to
identify uniquely an entity set.
ck-a super key for which no subset is a superkey is called
a candidate key.
pk-In a table pk does not take no repetation and does not
allow null values.
fk-it acts as a referential order.it refers one table from
the another one.

Is This Answer Correct ?    53 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the native system stored procedure to execute a command against all databases?

1014


What are dml triggers and types of dml triggers?

970


What is store procedure?

1050


How to transfer an existing table from one schema to another schema in ms sql server?

974


How to end a stored procedure properly in ms sql server?

1074


What happens when unicode strings concatenate with non-unicode strings?

1077


How to assign null values to variables or columns?

966


Explain sql server service broker?

968


How do I find the query plan in sql server?

946


What are the types of dml?

976


What do you mean by recursive stored procedure?

940


What are the different types of collation sensitivity in sql server?

1098


How to transfer a table from one schema to another?

993


Explain the stored procedure?

1037


What is difference between sql and sql server?

987