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. Community Knowledge
    4. Voyager to Alma Migration Query: MFHD Records with Multiple Items

    Voyager to Alma Migration Query: MFHD Records with Multiple Items

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    Created By: Laura (Customer) Guy
    Created on: 10/01/2021



    When migrating from Voyager to Alma, it may be desirable to identify those MFHD records with multiple item records. These queries can help you identify those MFHDs (and their BIBs).

    The following consists of two queries that can be run using Voyager's Prepackaged Access Reports. They need to be run in sequence.

    The first is a "MAKE TABLE" query that creates a table containing the MFHD ID and count of Items for those MFHDs with more than one Item, along with some other MFHD information.  You can run this query and check the results in the table.

    The second "main" query uses the data in the table created by the first query to provide information about the BIBs.

    MAKE TABLE QUERY (do not change the name of the table it makes):

    SELECT MFHD_ITEM.MFHD_ID, Count(MFHD_ITEM.MFHD_ID) AS CountOfMFHD_ID, MFHD_MASTER.LOCATION_ID, MFHD_MASTER.DISPLAY_CALL_NO INTO MULTI_ITEM_LOC
    FROM MFHD_ITEM INNER JOIN MFHD_MASTER ON MFHD_ITEM.MFHD_ID = MFHD_MASTER.MFHD_ID
    GROUP BY MFHD_ITEM.MFHD_ID, MFHD_MASTER.LOCATION_ID, MFHD_MASTER.DISPLAY_CALL_NO, MFHD_MASTER.NORMALIZED_CALL_NO
    HAVING (((Count(MFHD_ITEM.MFHD_ID))>1))
    ORDER BY MFHD_MASTER.LOCATION_ID, MFHD_MASTER.NORMALIZED_CALL_NO;

    MAIN QUERY:

    SELECT MULTI_ITEM_LOC.MFHD_ID, MULTI_ITEM_LOC.CountOfMFHD_ID, MULTI_ITEM_LOC.LOCATION_ID, MULTI_ITEM_LOC.DISPLAY_CALL_NO, BIB_TEXT.TITLE, BIB_TEXT.BIB_ID
    FROM (MULTI_ITEM_LOC INNER JOIN BIB_MFHD ON MULTI_ITEM_LOC.MFHD_ID = BIB_MFHD.MFHD_ID) INNER JOIN BIB_TEXT ON BIB_MFHD.BIB_ID = BIB_TEXT.BIB_ID
    ORDER BY MULTI_ITEM_LOC.LOCATION_ID, BIB_TEXT.BIB_ID;

    Note that the second query can take a long time to run.

    For other queries that may be useful, see my "Surviving Almanado: tips for a successful pre-implementation" presentation's Accompanying Materials.

    Posted as is. If you need assistance in running custom SQL queries in Prepackaged Access Reports, consult the Voyager Customer Listserv.

     




    Report
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Voyager to Alma Migration Query: MFHD Records that are Suppressed but which have Items Attached
      • Voyager to Alma Migration Query: MFHD Records with null call numbers and which have items attached
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Community Content Type
      How To
      Product
      Voyager
    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