Type of Column In the Information Schema COLUMNS Table

Viewed 31

In MariaDB, what are the type of the fields in Information Schema COLUMNS Table ? I can't find it in the mariadb documentation

2 Answers

This should work:

SHOW FIELDS FROM INFORMATION_SCHEMA.COLUMNS 

Fiddle

Ok, i'm stupid. Obviously:

SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = "INFORMATION_SCHEMA" AND TABLE_NAME = "COLUMNS";
Related