Gopesh Sharma
0
Q:

sql modify column


  ALTER TABLE Customers
ADD Email varchar(255);
 
5
ALTER TABLE table_name
  RENAME COLUMN old_name TO new_name;
1
ALTER TABLE `Table Name` MODIFY COLUMN `Column Name` Datatype(Size);
1
-- ORACLE 18c
ALTER TABLE table_name 
MODIFY column_name datatype;

-- Example
ALTER TABLE product
MODIFY description VARCHAR2(500 char);
1
ALTER TABLE table_name
ALTER COLUMN column_name datatype;
7

ALTER TABLE table_name

ALTER COLUMN column_name datatype; 
3

New to Communities?

Join the community