Postgresql Alter table command to add not null contraint


/ Published in: Java
Save to your folder(s)



Copy this code and paste it in your HTML
  1. ALTER TABLE products ALTER COLUMN product_no SET NOT NULL;

URL: http://www.postgresql.org/docs/7.4/interactive/ddl-alter.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.