Re: Inserting CLOBS into Oracle using perl
- From: Andy Hassall <andy@xxxxxxxxxxx>
- Date: Wed, 21 Jun 2006 22:34:15 +0100
On 21 Jun 2006 07:57:37 -0700, simpsonjohnj@xxxxxxxxx wrote:
Hi everyone. I trying to write a perl script that will insert data
from a text file into Oracle. The database contains a few clob fields
which are giving me errors. I am not too familiar with insertingn LOB
fields, but from what I have seen, I need to use ora_types for when
binding the fields that are clobs. When I run the script below, I get
the ORA-01008 error that says that not all parameters are bound.
$sth->bind_param(38, @array[37]);^^ spot the typo
$sth->bind_param(49, @array[38]);
$sth->bind_param(40, @array[39]);--
Andy Hassall :: andy@xxxxxxxxxxx :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
.
- References:
- Inserting CLOBS into Oracle using perl
- From: simpsonjohnj
- Inserting CLOBS into Oracle using perl
- Prev by Date: Small fix for Mail-MboxParser-0.55
- Next by Date: manipulate csv module
- Previous by thread: Inserting CLOBS into Oracle using perl
- Next by thread: Small fix for Mail-MboxParser-0.55
- Index(es):
Relevant Pages
|