Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot transfer value bigger than 4000 bytes from Perl to Oracle

Status
Not open for further replies.

titouss

Programmer
Jan 10, 2001
11
US

I’m retrieving data with Perl from test files and sending that data into the Oracle tables. To send data I use SQL scripts written in the Perl program. It all works up to the moment I’m trying to assign to the variables Large Objects (like files or big characters). When the size of the value I’m assigning to the variable reach more than 4000 bytes, that value does not appear in the Oracle table.

In Perl variable itself is taking that value (it can be checked by printing the variable). On the Oracle site Large Objects can be inserted (without using Perl program) either.

So, something does not let to transfer the variable with value more than 4000 bytes from Perl site to the Oracle site. What and where should I do make it possible?

Thank you, Stanley





 
Hi,

try to use the DBMS_LOB package. This packege contains all the utils to load files (large objects) into Oracle.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top