Difference between primary key and unique key ?

Answer Posted / laxman k

1) Primary key can not accept null values, but unique can
accept null values.

2) only one primary key have in a table but max 249 unique
in a table

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does oracle charge for java?

800


How to assign values to variables?

810


Can we connect to ORACLE db using Windows Authentication?

916


Using the relations and the rules set out in the notes under each relation, write table create statements for the relations EMPLOYEE, FIRE and DESPATCH. You should aim to provide each constraint with a formal name, for example table_column_pk.

1585


What is the recommended interval at which to run statspack snapshots, and why?

2642


You have 4 instances running on the same UNIX box. How can you determine which shared memory and semaphores are associated with which instance?

1690


11. Display the client number and name and the client number and name of the person who referred that client.

2085


Which is faster join or subquery in oracle?

725


Explain the difference between sap and oracle?

767


what are bitmap indexes? How does they work?

1942


defination of bitmap index

1797


What are privileges and grants?

775


Can we write insert statement in function in oracle?

790


What is the relation of a user account and a schema in oracle?

833


what is dynamic SGA and static SGA

4050