HOW SHALL WE DIFFERENTIATE BETWEEN PRIMARY KEY AND FORIEGN
KEY?
Answers were Sorted based on User's Feedback
Answer / kaleel
Each row of data in a table is uniquely
identified by a primary key
• You can logically relate data from multiple
tables using foreign keys
Is This Answer Correct ? | 3 Yes | 2 No |
Answer / manoj byregowda
Primary key- A column (or columns)in a table which makes every row in table unique. eg - EMPLOYEE table, EMPID is column which is unique.
Foreign Key - A column (or columns) in table Whose value References to primary key of another table OR ( A column which derives its value from another tables primary key.)
eg - EMP table EMPID is PK and DEPTNO is FK.
DEPT table DEPTID is pk.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mkjmkumar
Primary Key Column or Columns Containt Unique Values.
Foreign Key Column or Columns does not contains Unique
Values in Table
Is This Answer Correct ? | 1 Yes | 2 No |
Answer / mukhtiar ahmed
primary key
A column (or columns) in a table that makes the row in the
table distinguishable from every other row in the same
table.
foreign key
A column (or columns) in a table that draws its values from
a primary or unique key column in another table. A foreign
key assists in ensuring the data integrity of a table.
Is This Answer Correct ? | 1 Yes | 3 No |
what is the difference b/w oracle8i and oracle9i
if i write the procedure.. and other person make the changes in that code then where i find who is changing my procedure
How many segment are present in Oracle Manufacturing
You have just compiled a PL/SQL package but got errors, how would you view the errors?
What background process refreshes materialized views?
pl help me, i want oracle HRMS training institute address,in chennai
whats the difference between join command and Cartesian product using example?
What is an Oracle database Full Backup?
can we use lexical perameter in oracle plsql if yes how
Are These Dff's Flexible?
Compare and contrast TRUNCATE and DELETE for a table.
What are different types of receipt reversals ? Explain them : oracle accounts receivable