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 Primary key and foreign key? Give an example

Answer Posted / vipin

Primary key which enforce the uniqueness in each row og table .
Foreign key win which the existing value in table must be there in other table .
diffrence is that PK does not allow Null Values anf FK allow null values

Is This Answer Correct ?    17 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What protocol does sql server use?

929


What is the default sql server instance name?

1009


What are types of subqueries?

1037


What are the elements of dbms?

946


What happens when transaction log is full?

908


How would you use user_constraints table in DB?

985


How to name query output columns in ms sql server?

946


Can I run multiple instances of sql server 2000 at the same time on one computer?

1058


What is Cross Join and in which scenario do we use Cross Join?

1001


what is the system function to get current user's user id? : Sql server database administration

978


What is use of dbcc commands?

1047


What is mean by candidate key?

988


Can we call future method from trigger?

914


You want to implement the one-to-many relationship while designing tables. How would you do it?

938


what is raid? : Sql server database administration

1016