1247 error with big rows