Explain alternate key, candidate key and composite key in sql server?
Answer / Mohd Arif Usman
In SQL Server, a Candidate Key is a column or set of columns that can uniquely identify each row in a table. An Alternate Key is another set of columns that can also be used to uniquely identify the rows, but it's not the primary key. A Composite Key is a combination of two or more columns that together form a unique identifier for each row.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to find the source of a table in sql server?
write sql program to get the detail of student in a class?
Explain the steps needed to create a scheduled job?
Can XML be used to access data?
Differentiate between delete and truncate.
What is the sql case statement used for?
When cursors are useful?
Tell me about normalization in DBMS.
What is partitioned view?
What command do we use to rename a database?
Explain primary key?
Why use triggers?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)