9951 explained code solutions for 126 technologies


mysqlGet default charset of a table


SELECT TABLE_COLLATION FROM information_schema.tables  WHERE table_name = 'table' AND table_schema = 'db';ctrl + c
TABLE_COLLATION

will show default collation for specified table

information_schema.tables

system table with meta information for tables

'table'

name of our table

'db'

name of our databse