Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Voyager to Alma Migration Query: Bibliographic Records With Duplicate OCLC Numbers

    Created By: Laura Guy
    Created on: 7/16/2020



    When migrating from Voyager to Alma, you may want to identify and review those bibliographic records that have the same OCLC number. OCLC numbers are the foundation of bibliographic matching and de-duplication.  Bibliographic records should ideally have a single, unique source identifier.  Duplicate identifiers may be problematic.

    These two queries, which can be run using Voyager's Prepackaged Access Reports, consist of a required subquery and a main query.  Run the main query to identify duplicate OCLC numbers.

    Subquery: Save this under the name "Duplicate OCLC#s Subquery" but do not run this query.

    SELECT BIB_INDEX.NORMAL_HEADING, Count(BIB_INDEX.BIB_ID) AS CountOfBIB_ID
    FROM BIB_INDEX
    WHERE (((BIB_INDEX.INDEX_CODE)="0350"))
    GROUP BY BIB_INDEX.NORMAL_HEADING
    HAVING (((BIB_INDEX.NORMAL_HEADING) Like 'OCOLC*') AND ((Count(BIB_INDEX.BIB_ID))>1));

    Main Query: You can save it under any name you like.  Run this query.

    SELECT utf8to16([bib_index].[NORMAL_HEADING]) AS Normal_Heading, BIB_INDEX.BIB_ID, utf8to16([bib_text].[TITLE])
    AS Title, BIB_MASTER.SUPPRESS_IN_OPAC
    FROM ([Duplicate OCLC#s Subquery] INNER JOIN (BIB_INDEX INNER JOIN BIB_TEXT
    ON BIB_INDEX.BIB_ID = BIB_TEXT.BIB_ID)
    ON [Duplicate OCLC#s Subquery].NORMAL_HEADING = BIB_INDEX.NORMAL_HEADING)
    INNER JOIN BIB_MASTER ON BIB_INDEX.BIB_ID = BIB_MASTER.BIB_ID
    WHERE (((BIB_INDEX.INDEX_CODE)="0350"))
    ORDER BY BIB_INDEX.NORMAL_HEADING;

    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.