What is Primary Key?
Answers were Sorted based on User's Feedback
Answer / ashis kumar jena
A primary key is one which uniquely identifies a row
of a table.
This key does not allow null values and also
does not allow duplicate values.
Each table should have a primary key, and each table can
have only one primary key.
| Is This Answer Correct ? | 16 Yes | 2 No |
Answer / perumal
1. Primary Key Doesn't allow the NULL values and also
does not allow duplicate values.
2. Primary Key has the Unique Columns.
3. Primary Key Uniquely Identify the each row of the tables.
| Is This Answer Correct ? | 14 Yes | 3 No |
Answer / hannan oca
primary key =notnull+unique value in column
a table consist of only one primary key.
Example
a primary key is like a father in house, like only one but
there may be a lot of childs just like columns.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / satheeh
Primary key is nothing but restriction or condition or constraint given to a specific column to avoid the null and duplicate values.
primary key=not null+unique
that means primary key performs both operations at a time.
primary key plays vital role when relationship between two or more tables
| Is This Answer Correct ? | 2 Yes | 1 No |
i have xml source. xml source having lacks of records. i want extract/retrive xml source data using sql query. please tell me how to write query.
Can you join views in sql?
What is nosql example?
Does postgresql run on the cloud?
What is difference between mysql and postgresql?
what is self join and what is the requirement of self join? : Sql dba
Which is better join or subquery?
Write the order of precedence for validation of a column in a table? I. Done using database triggers. Ii. Done using integarity constraints
What is a unique constraint?
What is set serveroutput on?
how do you control the max size of a heap table? : Sql dba
what is an associative array with example?
Oracle (3259)
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)