ORA-12704: character set mismatch problem with DBD::Oracle

From: Jim Lynch (jwl_at_sgi.com)
Date: 01/25/05

  • Next message: Jim Lynch: "Re: ORA-12704: character set mismatch problem with DBD::Oracle"
    Date: Tue, 25 Jan 2005 14:27:25 -0500
    To: dbi-users@perl.org
    
    

    I'm trying to select from a table where the serial number apparently
    looks like an octal number to Oracle and I haven't been able to figure
    out how to convince it otherwise.

    My last attempt looks like:
          my $rc = $sth->bind_param(1,$serial,{ora_type=>ORA_STRING,
    ora_csform=>SQLCS_NCHAR});
    I get the error when I do the execute. $serial = 0800690C0A

    If serial = abc or 123 it works fine. If I remove the leading zero it
    works fine, which leads me to believe that something is converting that
    into something else, like an octal number which obviously will fail.
    I've tried ORA_CHAR andORA_VARCHAR.

    This is and 8.1.7 Oracle installation on Linux.

    Any suggestions?

    Thanks,
    Jim.


  • Next message: Jim Lynch: "Re: ORA-12704: character set mismatch problem with DBD::Oracle"

    Relevant Pages

    • RE: Fate of RedHat
      ... Oracle Application Server 10g on a Linux server. ... Prior to my struggle with installing ...
      (RedHat)
    • Re: Query to the Linux community....Follow up...
      ... There were analogies to cars and PC hardware. ... > distributions of Linux may not be much of an issue. ... If the OS doesn't break on them, they'll only care what the app is doing. ... But then again, strictly speaking, Oracle doesn't sell databases. ...
      (alt.os.linux)
    • RE: DBD::Oracle on Linux 64bit
      ... Subject: DBD::Oracle on Linux 64bit ... The Oracle client you are using is most likely not fully patched as it is missing ... But, package 1.22 didn't have file META.yml, so I've cut line "META.yml Module meta-data " in the MANIFEST and got an more or less successfully makefile. ... Oracle.h:115: error: conflicting types for 'OCIXMLTypeCreateFromSrc' ...
      (perl.dbi.users)
    • Re: What is Oracle contributing to Linux?
      ... what could Oracle CEO Larry Ellison get from buying Red Hat? ... Linux), except they call it Oracle Unbreakable Linux. ... Years ago the GNU software would litter my home ...
      (alt.os.linux)
    • Re: high availability
      ... two Linux servers for running the Oracle Database and an iSCSI SAN for ... I'd like to have the ability to fail over to the secondary ... look into Linux HA and/or Veritas Storage Foundation for 'failover' ... Lastly, don't forget that Oracle XE is 'free' with 4G of data, but it ...
      (comp.databases.oracle.server)