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 |
what is cursor procedure
a. Can you delete data from a View. b. If Yes, can you delete it if there are multiple tables c. If No, can you delete if there is single source table which is joining.
Can we use ddl statements in stored procedure sql server?
Can pl sql procedure have a return statement?
When should I use nosql database?
What is difference between procedure and trigger?
What are Anti joins
What is denormalization in a database?
Explain cursor types?
What is difference between triggers and stored procedures. And advantages of SP over triggers ?
select 1,col1,col2 from table1. output?
What is the use of double ampersand (&&) in sql queries? Give an 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)