ALTER TABLE

From wikieduonline
Jump to navigation Jump to search
ALTER TABLE tablename ADD CONSTRAINT constraintname UNIQUE (columns);
ALTER TABLE tablename OWNER TO "new-owner";
REVOKE ALL ON accounts FROM PUBLIC;
ALTER TABLE … SET (toast_tuple_target = N)


ALTER TABLE measurement DETACH PARTITION measurement_y2006m02;
ALTER TABLE measurement DETACH PARTITION measurement_y2006m02 CONCURRENTLY;

Related[edit]

See also[edit]

Advertising: