Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: How to prepare a file for insert into MSSQL

by EvanCarroll (Chaplain)
on May 15, 2007 at 19:38 UTC ( [id://615634]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://615634]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-03-28 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found