Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. SQL update doesn't actually take effect

    SQL update doesn't actually take effect

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Problem Symptoms:
    2. Resolution:
    3. Additional Information
    • Article Type: General
    • Product: Aleph
    • Product Version: 21

    Problem Symptoms:

     

    An SQL update or delete is executed (the "nnn rows updated" appears), but, checking in the GUI or Web, the change has not actually taken effect.
     

    Cause:

    Failure to include "commit" after the SQL update(s). For an SQL "update" or "delete" to take effect, it needs to be followed by a "commit" command, like this:
    SQL> update znn set yyy = zzz where ....;
    SQL> commit;

     

    Resolution:

    Include "commit" as the final command.

    There may be a series of related updates which should not take effect until all of them are completed.

    Such as:
    SQL> update <aaa ....>
    SQL> update <bbb ....>
    SQL> update <ccc ....>
    SQL> commit;

    Additional Information

    Important note: Ex Libris does not support SQL queries and strongly advices against any changes outside the application. 

    Before performing mass data updates or Aleph global changes the affected table(s) should be backed up using p_file_03 ("Export Database Tables") or an Oracle individual table backup.

     

    • Article last edited: 19/09/2017
    View article in the Exlibris Knowledge Center
    1. Back to top
      • SQL to update the 852 subfield h
      • SQL update of item sublibrary, collection, and call number fields don't update indexes
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 21
      2. contype:kba
      3. Prod:Aleph
      4. System Management (500)
      5. Type:General
    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