Tutorial 12- UNIQUE AND NOT NULL CONSTRAINT

preview_player
Показать описание
Learn about UNIQUE AND NOT NULL CONSTRAINT in PostgreSQL.
Рекомендации по теме
Комментарии
Автор

UNIQUE (product_no, name) tells that a pair <product_no, name> should be unique, not each column separately.

Try to set unique constraint for separate columns.

xzqtmic
Автор

How you (Update) decrease column already created and contains white space?

Dilshad
Автор

Why is capitalization necessary? PSQL 9.6 doesn't require it.

anthonythudium