Can primary key be null postgres?



Can primary key be null postgres?..

Answer / Vivek Misra

Answer: No, a primary key cannot be NULL in PostgreSQL unless you explicitly allow it using the `NOT NULL` keyword. By default, a primary key column is set to NOT NULL.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Postgre Interview Questions

What happens to index when table is dropped?

1 Answers  


Is postgresql free for commercial use?

1 Answers  


How long does it take to create an index on a large table?

1 Answers  


How do I change primary key in pgadmin?

1 Answers  


What are the character types that are available in postgresql?

1 Answers  


What is write ahead logging in postgresql?

1 Answers  


List different datatypes of postgresql?

1 Answers  


What does edb stand for?

1 Answers  


What is postgresql database cluster?

1 Answers  


What is postgresql?

1 Answers  


What is a delete query?

1 Answers  


Is foreign key an index?

1 Answers  


Categories