what is the difference between primary key & foreign key?

Answer Posted / ibrahim

primay key uniquely identifies records in relation.
in a table only one primary key.But may have more than one
foreign key.

Is This Answer Correct ?    14 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to upsert (update or insert into a table)?

540


What is the difference between Delete, Truncate and Drop in Oracle?

606


What is partitioned table in Oracle?

639


Point out the difference between user tables and data dictionary?

546


How to delete multiple rows from a table in oracle?

565






How many types of table in Oracle?

619


What is Redo Log Buffer in Oracle?

634


What are the advantages of oracle?

555


Why packages are used in oracle?

543


Why do we need oracle client?

511


Difference between inner join vs where ?

613


State some uses of redo log files?

568


How many anonymous blocks can be defined?

586


How would you go about verifying the network name that the local_listener is currently using?

1609


> CREATE OR REPLACE FUNCTION FACTORIAL_1(factstr varchar2 ) 2 RETURN NUMBER AS 3 new_str VARCHAR2(4000) := factstr||'*' ; 4 fact number := 1 ; 5 BEGIN 6 7 WHILE new_str IS NOT NULL 8 LOOP 9 fact := fact * TO_NUMBER(SUBSTR(new_str,1,INSTR(new_str,'*')-1)); 10 new_str := substr( new_str,INSTR(new_str,'*')+1); 11 END LOOP; 12 13 RETURN fact; 14 15 END; explanation Above program?

1571