what is the difference between primary key & foreign key?
Answer Posted / vaziuddin shaik
PRIMARY KEY
-------------
Primary key is a column in a table which is having unique
values......and it does not contain null values and
duplicate values...........
FOREIGN KEY
-------------
Foreign key is a column in a table which act as reference to
another table.....and it may contain null and duplicate
values.....(or)it may not contain null and duplicate
values...........
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Write a trigger example in oracle?
What is the difference between 10g OEM and 11g OEM?
Why we use bulk collect in oracle?
How to create a new oracle data file?
Compare and contrast between sql and sql server and explain its various functions?
Explain the use of log option in exp command.
How do you bind variables in oracle?
Is oracle an open source?
How does propagation differ between Advanced Replication and Snapshot Replication (read-only)?
Using the relations and the rules set out in the notes under each relation, write statements to create the two sequence generators specified in the notes.
Explain compound trigger in oracle?
How to return top 5 rows in oracle?
Can we protect our pl/sql source code?
Explain how you would restore a database using RMAN to Point in Time?
How to open a cursor variable?