in reply to Extracting binary data from mssql

Hi,

See DBI. Skip to section named 'Handling BLOB / LONG / Memo Fields'

BTW, look at the way your assigning the variables, then, are you using the id? The way you're composing the filename is not safe, see File::Spec. For opening files, use a lexical variable, and use the three way open.

Regards,

fmerges at irc.freenode.net