connection from Perl 5.8.5 to Oracle 7.3.4 database
From: Yahui Shang (yahui.shang_at_globalstar.com)
Date: 01/09/05
- Previous message: Qing Zhou: "Question on DBI connection to Oracle"
- Next in thread: Ron Reidy: "RE: connection from Perl 5.8.5 to Oracle 7.3.4 database"
- Maybe reply: Ron Reidy: "RE: connection from Perl 5.8.5 to Oracle 7.3.4 database"
- Maybe reply: Amonotod: "Re: connection from Perl 5.8.5 to Oracle 7.3.4 database"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 08 Jan 2005 16:57:07 -0800 To: dbi-users@perl.org
Hello:
I am using perl version 5.8.5 to connect to Oracle 7.3.4 database. I
can fetch Date, Number, Float type of data from that database, but not
VARCHAR2 type of data. The error message is:
DBD::Oracle::db prepare failed: ORA-24328: illegal attribute value (DBD
ERROR: OCIAttrSet OCI_ATTR_CHARSET_FORM) [for Statement "SELECT
convert(CC_ACCOUNT_NUM,
'WE8ISO8859P1', 'WE8DEC')
FROM TEMP_PCC_BATCH_PAYMENT"] at x line 23.
I have tried various options to reset NLS_LANG (to UTF8), however, none
of them works. Could someone shed some lights on this issue? Really
appreciate any help.
Yahui
- Previous message: Qing Zhou: "Question on DBI connection to Oracle"
- Next in thread: Ron Reidy: "RE: connection from Perl 5.8.5 to Oracle 7.3.4 database"
- Maybe reply: Ron Reidy: "RE: connection from Perl 5.8.5 to Oracle 7.3.4 database"
- Maybe reply: Amonotod: "Re: connection from Perl 5.8.5 to Oracle 7.3.4 database"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|