Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

change column name mysql

ALTER TABLE tableName CHANGE `oldcolname` `newcolname` datatype(length);
(you can remove the backticks if it doesn't work)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #column #mysql
ADD COMMENT
Topic
Name
6+6 =