What is the use of placing primary key and foreign key
constrains on columns.
Answers were Sorted based on User's Feedback
Answer / jagadeesh b
If you maintain this relation ship you can get more advantages
1)you can not delete primary table directly..
2)duplicate values are not allowed in primary key table.
3)Null values are not inserted into primary key table so
validation is very easy fro m front end.(for ex; .net 2005).
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / deepak
1) PRIMARY KEY IS USED AS UNIQUE KEY, FOR AVOID DUPLICATION.
2) FOR VALIDATING DATA FROM PRIMARY KEY TABLE FOREIGN KEY USE.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / rajendraprasad cherukuri
To segregate the data in different tables belongs to a
particular entity so that data can be retrieved when
required more economically and in a faster way.
Is This Answer Correct ? | 0 Yes | 0 No |
What are the characteristics of modern DBMS?
What is clustered primary key?
What is user-defined inline table-valued function?
wht's the differece between sqlserver05 and sqlserver2000
In one interview...interviewer ask me question pleas tell me sql server architecture.. can any body tell me the sql server architecture with digram
WHAT OPERATOR PERFORMS PATTERN MATCHING?
2 Answers CarrizalSoft Technologies, CTS,
What is the difference between login and a user?
13 Answers CTS, TCS,
What is the importance of three tier architecture?
why we use cursor?
4 Answers CarrizalSoft Technologies, Melstar, TCS,
if a parameter is not send to a stored procedure what type of identifier is to be used in Stp and if that parameter is not feed to the a query inside the Stp how to validate with out useing IF condition
Explain the truncate command?
i need to know how i display department which has salary > =5000 for the below table Department ----------- salary deptname 1000 a 3000 a 2000 b 3000 b 4000 c 5000 c kindly send the query to thilakvinoth13@gmail.com