What is Primary key and foreign key? Give an example
Answer Posted / brajesh kumar srivastava
Primary key enforce uniqueness of column and deny to allow
null values to this column and enforce referential data
integrity constraint to other table column which is call
foreign key.
Foreign key column may contain null value
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What are subqueries in sql server?
What is isolation levels?
What is a database table?
What are sub reports?
Tell me what is use of except clause? How it differs from not in clause?
What are the difference between primary keys and foreign keys?
Do you know what is a linked server in sql server?
What is the minimum and maximum number of partitions required for a measure group? : sql server analysis services, ssas
What stored by the master? : sql server database administration
What are the steps you should follow to start sql server in single-user mode?
What is 1nf 2nf and 3nf?
How does normalization work?
Explain trigger and trigger types?
How to provide default values to stored procedure parameters?
How many types of subqueries are there in sql server?