Answers for "sql alter column size"

SQL
14

sql change column types

ALTER TABLE table_name
ALTER COLUMN column_name datatype;

-- Example
ALTER TABLE product
ALTER COLUMN description VARCHAR(250);
Posted by: Guest on May-07-2020
0

how to increase size of column in sql

ALTER TABLE table_name
MODIFY column_name
varchar(new_length);
Posted by: Guest on June-13-2021
0

how to increase size of column in sql

CREATE TABLE t2 (c VARCHAR(10));
Code language: SQL (Structured Query Language) (sql)
Posted by: Guest on June-13-2021

Code answers related to "sql alter column size"

Code answers related to "SQL"

Browse Popular Code Answers by Language