Define candidate key, alternate key, composite key?

Answer Posted / ramesh

A composite Key can be either Primay or Unique Key
More then One Key columns are said to be composite keys

Candidate Key(Primary Key) is a Key which Maintains the Row
Uniue .Can be defined based on the Entity


Alternate Key or Unique Key is similar to PK ,except it
accepts null Values .So that the records can still be
entered submitting null values to this attribute.

Is This Answer Correct ?    151 Yes 207 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the cube operator?

607


What are the constraints on severity level in raiseerror?

588


In which database can extended stored procedures be added?

534


What is the maximum length of an extended property?

561


What are the three basic rules which are to be followed for the relational model of the database?

566






How to generate OIDS

1666


When installing the datastage7.5x2 edtion iam getting aproblem i.e the cpu count is 2 but the cpu count in installation is one . how can i install in my p.c (system is dual core).

1789


Explain about the relational database?

613


Can an extended stored procedure be called from inside a user-defined function?

616


There is a trigger defined for INSERT operations on a table, in an OLTP system. The trigger is written to instantiate a COM object and pass the newly insterted rows to it for some custom processing. What do you think of this implementation? Can this be implemented better?

1998


How to replace not in with not exist?

1470


How is data stored in dbms?

528


You have a table with three columns: amount1, amount2, and amount3 in a single row only one of these three columns will have a value and the other two will be null. Write a sql query to retrieve the values from these columns?

551


Which data type cannot be used as a parameter in a udf?

580


Explain the role of indexing in databases?

645