Is there something in information schema, or some other method, that will tell me if a field is textual or not. I.e. Without checking DATA_TYPE against each possible type, i want to identify if that field belongs to the group: string (character) types.
This is so that i can create an object of the appropriate type in my c++ code.
To mark the question as answered GordonLinoff said: Try COLLATION_NAME. MySQL documentation is vague, but SQL Server documents this as only being used for character and text types. (And it documents CHARACTER_MAXIMUM_LENGTH as being used for image and binary types as well.)