Specify not null constaint for column : NOT NULL « Constraints « PostgreSQL






Specify not null constaint for column


postgres=#
postgres=# CREATE TABLE products (
postgres(#    product_no integer NOT NULL,
postgres(#    name text NOT NULL,
postgres(#    price numeric
postgres(# );
CREATE TABLE
postgres=#
postgres=#
postgres=# drop table products;
DROP TABLE
postgres=#
postgres=#
           
       








Related examples in the same category