12 means varchar, that's correct.

you need to retrieve the column size as well. SQLCOLATTRIB_ SIZE

Don't know what exactly it would return for the max size, but it should be something you can use to differentiate for the regular ones.