Difference between primary key and unique key ?

Answer Posted / sonali.s

column having primary key constraint should not contain
null values.

column having unique key constraint can contain null values.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I uninstall oracle 11g?

788


How to create a table in a specific tablespace?

731


How to create a new oracle data file?

764


Explain what does a control file contain?

807


Other than making use of the statspack utility, what would you check when you are monitoring or running a health check on an Oracle 8i or 9i database?

1712


Assuming that you are an End User How to find that in the payment Batch some of the Invoice was  Missing To pay How to find That??

1483


Explain the use of analyse option in exp command.

773


1) WIll all the user get the DEFAULT profile, if their current profile got deleted at any point of time? 2) What are the Situation we need to MOVE the TABLE between T.spaces? 3) What is the use of MOVING the TABLE between SCHEMA'S? 4) What are the Table Clause, Segment Clause and the Datafile Clause which will override each other? 5) Explain SORT_AREA_SIZE of Tempfile to make UNIFORM SIZE

1765


How to use group functions in the select clause using oracle?

801


Explain oracle left join with an example?

761


How to create lov dynamically at runtime & attach to text field?

874


Which is better Oracle or MS SQL? Why?

5844


How many data types are supported?

814


How to shutdown your 10g xe server?

817


What is the effect of setting the value "all_rows" for optimizer_goal parameter of the alter session command? What are the factors that affect optimizer in choosing an optimization approach?

736