sql modify column
snippet in sql

add column sql

user2608


  ALTER TABLE Customers
ADD Email varchar(255);
 

sql modify column

user5493

ALTER TABLE table_name
ALTER COLUMN column_name datatype;
--ex.
ALTER TABLE Customers
ADD Email varchar(255);

alter table modify column

user5038

-- ORACLE 18c
ALTER TABLE table_name 
MODIFY column_name datatype;

-- Example
ALTER TABLE product
MODIFY description VARCHAR2(500 char);

alter column type

user4793


ALTER TABLE table_name

ALTER COLUMN column_name datatype;