Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Voyager

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Voyager
    3. Knowledge Articles
    4. LCCLASS_VW:error ORA-01722 invalid number

    LCCLASS_VW:error ORA-01722 invalid number

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Voyager
    • Product Version: 7.0.4

    Description:
    Bug Report Form for Issue 16384-17089

    Server platform(s) affected: All
    PC OS (if applicable): N/A
    Browser & version (if applicable): N/A

    Release(s) replicated in: 2007.0.4
    Last version without bug (if applicable): N/A

    Expected results:
    LCCLASS_VW should return all relevant results, without crashing with a numeric conversion error

    Actual results:
    A query that includes LCCLASS_VW will randomly die with ORA-01722 invalid number.


    Workflow implications: Some queries including LCCLASS_VW will not run

    Replication steps: On customer machine, select * from lcclass_vw;

    Other information:

    Workaround: Create new procedure called “safe_to_number”

    create function safe_to_number(txt in varchar2) return number is
    begin
    return to_number(txt);
    exception when value_error then
    return null;
    end safe_to_number;

    Use this instead of the built-in to_number in the lcclass_vw

    Resolution:
    Fixed in Voyager 8.2.2.


    • Article last edited: 3/7/2015
    View article in the Exlibris Knowledge Center
    1. Back to top
      • KW: non-filing indicators and apostrophe prevent accurate kw search results
      • LDR bytes 20-23 show as already corrected in before record when Preview in GDC
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Voyager
    2. Tags
      1. 7.0.4
      2. voy-resolved-8
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved