Difference between revisions of "ALTER TABLE"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
  ALTER TABLE tablename ADD [[CONSTRAINT]] constraintname UNIQUE (columns);
 
  ALTER TABLE tablename ADD [[CONSTRAINT]] constraintname UNIQUE (columns);
  
   ALTER TABLE tablename OWNER TO newowner;
+
   ALTER TABLE tablename OWNER TO "new-owner";
  
 
* [[List tables]]: <code>[[\dt]]</code>
 
* [[List tables]]: <code>[[\dt]]</code>

Revision as of 17:01, 14 December 2022

Advertising: