Define candidate key, alternate key, composite key?
Answer Posted / palanivel
primary key:- The attribute or combination of attributes
that uniquely identifies a row or record.
Foreign Key:- an attribute or combination of attribute in a
table whose value match a primary key in another table.
Composite key:- A primary key that consistsof two or more
attributes is known as composite key
candidate key:- is a column in a table which has the
ability to become a primary key.
Alternate Key:- Any of the candidate keys that is not part
of the primary key is called an alternate key.
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What are the constraints on severity level in raiseerror?
Which four data types cannot be used as a return type from a user-defined function?
What you can do to remove data from the cache and query plans from memory for testing the performance of a query repeatedly?
On friday, you issued several insert statements using query analyzer. You then verified the data had been correctly entered with a select statement on monday, your users report that the data is not there what happened?
Explain about the database management systems.
How can you fix a poorly performing query?
What are the three types of database design?
What are data modelling techniques?
Explain the role of indexing in databases?
Explain the cube operator?
The count() function always returns a int value type what should you do if you need to count rows from a query which you know will return a value that is too large for an int value type?
What is dbms explain in brief?
In which table collections errors are stored.
What is the maximum length of an extended property?
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?