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
ORDER BY MFHD_MASTER.LOCATION_ID, MFHD_MASTER.NORMALIZED_CALL_NO;
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.