what is the difference between primary key & foreign key?
Answer Posted / anand
Primary key is used to identify a row in a table and it
doesnot allow null values. It avoids duplication of rows.
whereas foreign key refers to a column or combination of
columns included in the defenition of referential integrity
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How to update a table row with a record?
What is raw datatype?
What is a directory object?
Give the different types of rollback segments.
How do I manually uninstall oracle client?
What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?
How to define a data field as not null?
How to create lov dynamically at runtime & attach to text field?
How do you increase the OS limitation for open files (LINUX and/or Solaris)?
What is Redo Log Buffer in Oracle?
How to convert characters to times in oracle?
src name sex a,male b,female c,male d,female Required output : male female a,b c,d tried pivot but was not successfull select * from src pivot (max(name) for sex in ('MALE','FEMALE'));
What is the difference between postgresql and oracle?
How to add a new column to an existing table with a default value?
How do I uninstall oracle client from windows?