what is the difference between primary key & foreign key?

Answer Posted / anil bharodiya

Primary key is field of the table that can be used to
uniquely identify records of the table

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between post-database commit and post-form commit?

545


How many categories of data types in oracle?

606


What are the original export and import utilities?

573


What do you understand by database schema and what does it hold?

598


How to get a create statement for an existing table?

572






How to use subqueries with the in operator using oracle?

614


How to write a query with a right outer join in oracle?

617


Explain the use of constraints option in exp command.

566


How to change program global area (pga) in oracle?

588


Why is oracle so popular?

561


ABOUT IDENTITY?

1566


What are the major difference between truncate and delete?

519


How can we find out the duplicate values in an oracle table?

611


How to invoke the data pump import utility?

653


> 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