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 search in Z30_CALL_NO $$k subfield

    SQL search in Z30_CALL_NO $$k subfield

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers

     

    • Product: Aleph
    • Product Version: 20, 21, 22, 23
    • Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care

     

    Description:
    Is there a way to find a word, anywhere in the call number, Z30_CALL_NO $k subfield?
    I need to find "po" when in the $k. It could be anywhere in the subfield.

    These should be found :

    $$kPGI poQUEBEC$$hA11F341 L36 1995
    $$kPGI$$kPeriodiques$$kpoCANADA$$hZ1-1991/ X2-11F

    This should not:

    $$kPGI$$kREF$$kPeriodiques$$hpoCWLTH eCWLTH

     

    Resolution:
    The following SQL can be used:

    abc50@ALEPH20> select z30_rec_key, z30_call_no from z30 where z30_call_no like '$$k%po%$$h%';

    (This SQL requires that the "po" occur after the $$k and before the $$h.)

     

     


    • Article last edited: 12-Mar-2016
    View article in the Exlibris Knowledge Center
    1. Back to top
      • SQL scripts fail or run slow after optimizer changes
      • SQL showing number of items for each sublibrary/collection combination
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      This page has no tags.
    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