I am fetching data from MySql Server into R using RODBC. So in one column of the database is a character vector
SELECT MAX(CHAR_LENGTH(column)) FROM req
Another possibility why the retrieved number of characters might be limited is a 'sanity' check restriction to 65535 bytes in the RODBC package itself -- as mentioned here.