Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: How to insert a file into a CLOB object?

by kennethk (Abbot)
on Sep 04, 2013 at 15:42 UTC ( #1052380=note: print w/ replies, xml ) Need Help??

in reply to How to insert a file into a CLOB object?

See Simple_Usage in DBD::Oracle. From the link:

$sth->bind_param($field_num, $lob_value, { ora_type => ORA_CLOB });
use DBD::Oracle qw(:ora_types);
to import ORA_CLOB. There seems to be some conflicting data with regards to using SQLT_CHR instead, but I've successfully used the above.

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

Comment on Re: How to insert a file into a CLOB object?
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (12)
As of 2015-11-24 23:44 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (666 votes), past polls