http://www.perlmonks.org?node_id=1024176

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello all, I've recently began inserting files into a sql server 2008 R2 db from perl using dbi, dbd:odbc, and freetds. I cand connect, query, and insert file ( varbinary(max), DBI:VARBINARY). Most of the time. However, when the files get to a certain size (I think that's the cause) I get the 'HY090 invalid string or buffer length error' rejection. If someone has a pointer or two I would really appreciate it; I'll try to get my code up here soon.