in reply to How to prepare a file for insert into MSSQL

I'm not sure what your question is, but you use binmode if you are reading in a non-text-file, and you use pack to prepare to write a data structure in a specified format. I'm guessing you need binmode, and not pack.

You probably more want to look into $sth->bind_param, as some DBDs require you to manually bind them to use blob functionality. Run a quick google for Sybase, and blob.


Evan Carroll
www.EvanCarroll.com
  • Comment on Re: How to prepare a file for insert into MSSQL