Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

Thanks for reply,

More details about issue:

I have a perl script that was working fine until I upgraded my Oracle client 9i to 10g (instant client). I'm inserting data into an Oracle database via DBD-ODBC.

We found this error from logs:

Monday, August 12, 2013 4:33 PM Product Group ID = 4 Count = 2Last extract to date: 080108131644, extract to date : 090130 +095622 , Current run id: 55 Errstr = Exception Found - Error_ID 12

While updating the records in to below table failing the script.

we are assuming this issue is some thing related to date format and changed the code at script level with diffrent format of dates ,but its not much help full resolve this issue.

UPDATE TEST_CONTROL_TABLE SET PN_Date = to_date(?,'yyyymmddhh24miss'), + E_From_Date = to_date(?,'yyyymmddhh24miss'), E_To_Date = to_date(?,' +yyyymmddhh24miss'), E_MN = ?, E_Sts = ?, D_R_ID = ?, D_Mode = ?, D_St +ts = ?, H_ID = ?, keep_M = ?, Hkeep_Sts = ?, Pr_Stt = ?, E_From_Qtes += ?, L_To_S_Qte = ?, Unque_Po_Count = ?, Unque_C_Count = ?, Unque_End +or_Count = ?, Pol_F_Record_Count = ?, Cl_File_Re_Count = ?, End_Rec_C +ount = ? WHERE R_ID = ?}; my $sth8 = $dbh->prepare( $sql8 ) or error(17)

Current using ORACLE NLS date format setting is rrmmddhh24miss

with out changing NLS setting is there any options to resolve this issue?

Script connection setting information:

my $driver = "ODBC"; my $server = "localhost"; my $database = "";

Please let me know,if you require any more details.


In reply to Re^2: Perl Script failing after oracle 10G driver upgrade by Anonymous Monk
in thread Perl Script failing after oracle 10G driver upgrade by VN

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others musing on the Monastery: (9)
    As of 2014-11-23 03:34 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My preferred Perl binaries come from:














      Results (128 votes), past polls