Answers for "alter type add value in postgres"

SQL
2

postgres alter table add primary key

-- To set a column as primary key:
ALTER TABLE distributors ADD PRIMARY KEY (tablename);
Posted by: Guest on November-02-2020
3

update column data type postgres

ALTER TABLE table_name
ALTER COLUMN column_name [SET DATA] TYPE new_data_type;
 
Posted by: Guest on April-03-2020

Code answers related to "alter type add value in postgres"

Code answers related to "SQL"

Browse Popular Code Answers by Language