Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

altering the column name in MySQL to have a default value

ALTER TABLE table_name ALTER COLUMN column_name SET DEFAULT 'literal';
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #altering #column #MySQL #default
ADD COMMENT
Topic
Name
5+5 =