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 / avishek patra

There are mainly two types of keys are available in SQL server
1. PK
2. FK

1.PK-- In a Table the unique key(with no repetation and does
nota take null value) is called Primary Key
2.FK-- Foreign Key when that PK refers to another table then
its called as foreign Key

Is This Answer Correct ?    39 Yes 42 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain full-text query in sql server?

1016


What do you mean by an execution plan?

1120


How many database files are there in sql server 2000?what are they?

1055


How do I save a stored procedure in sql server?

1003


Write a sql query to get zero records from a table having n number of records?

1181


What command do we use to rename a database?

1082


What is normalization? Explain different forms of normalization?

1167


Is foreign key a primary key?

1102


Explain optimistic and pessimistic concurrency?

997


Explain cursor as data base object?

1045


How can you control the amount of free space in your index pages?

1059


How can I get data from a database on another server?

1001


Explain system scalar functions?

1004


How you can get the list of largest tables in a database?

1022


What is enhanced database mirroring in sql server 2008?

976