in reply to Default Return Max Length for MS-SQL

Maybe it's better that it's preset this low. This way it's more likely that developers notice in time that something might go wrong, do some reading and set LongReadLen according to their application.

If the default was, say, 64 KB it's very unlikely that you'd notice any problem testing the application on some fake data. And them, maybe a month later it would break because someone entered more data. Sure that can happen even if you set LongReadLen to something, but at that time you at least know it exists.

  Jenda

  • Comment on Re: Default Return Max Length for MS-SQL