ODBC Error “Column x in table y has value exceeding its max length or precision”
问题 I get this error from Progress database when running the following query using ODBC: SELECT distinct Table.column, { fn CONVERT(SUBSTRING(Table.ProblematicColumn, 1, 60), SQL_VARCHAR)} as test FROM PUB.Table WHERE ( Table.id IN ( SELECT Table.id FROM PUB.Table ) ) I know it's possible to fix it using the DBTools. However, I run queries against multiple Progress databases of multiple clients, so it's not practical to do this every time. Also, for some reason, the ODBC client I'm using (PHP),