Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

select concat alter table mysql

SELECT distinct CONCAT( 'alter table ', TABLE_SCHEMA, '.', TABLE_NAME, '  CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;' ) FROM information_schema.COLUMNS WHERE TABLE_SCHEMA = 'DBname';
Source by serverfault.com #
 
PREVIOUS NEXT
Tagged: #select #concat #alter #table #mysql
ADD COMMENT
Topic
Name
9+1 =