Define candidate key, alternate key, composite key.
Answers were Sorted based on User's Feedback
Answer / unknown
If for any table, we have more than one primary key, viz If
the table can be uniquely identified by the help of more
than one attribute, the collection is called 'Composite
Key'. If only one key can act as the unique key, it is the
Primary key, rest of the keys are called alternate keys.
Individual keys of the composite key are the candidate keys.
Is This Answer Correct ? | 18 Yes | 28 No |
Answer / mustafa
How do we specify an ALTERNATE KEY while creating a table?
Is This Answer Correct ? | 15 Yes | 30 No |
Answer / jheelum
A CANDIDATE KEY ISA PRIMERY KEY. OTHER ARE ALTERNATE KEY
Is This Answer Correct ? | 26 Yes | 82 No |
What will be the value of @@fetch_status if a row that was a part of the cursor resultset has been deleted from the database after the time the stored procedure that opened the cursor was executed?
What is master database? : SQL Server Architecture
why we use cursor?
4 Answers CarrizalSoft Technologies, Melstar, TCS,
How fixed length strings are truncated and padded?
Can you explain what are commit and rollback in sql?
What is log shipping? Can we do logshipping with SQL Server 7.0 - Logshipping is a new feature of SQL Server 2000. We should have two SQL Server - Enterprise Editions. From Enterprise Manager we can configure the logshipping. In logshipping the transactional log file from one server is automatically updated into the backup database on the other server. If one server fails, the other server will have the same db and we can use this as the DR (disaster recovery) plan.
What are functions
How to know the NAME of the Database and SIZE of the Database at the client node in Sql Server 2005
What is Peer to peer Replication?
1 Answers CarrizalSoft Technologies, HCL,
How do you simulate a deadlock for testing purposes
What’s the distinction between dropping a info and taking a info offline?
What is the difference between insensitive and scroll cursor?