Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql change column types

ALTER TABLE table_name
ALTER COLUMN column_name datatype;

-- Example
ALTER TABLE product
ALTER COLUMN description VARCHAR(250);
 
PREVIOUS NEXT
Tagged: #sql #change #column #types
ADD COMMENT
Topic
Name
9+2 =