- Product: Voyager
- Relevant for Installation Type: Multi-Tenant Direct, Dedicated-Direct, Local, TotalCare
Is there a single Access table in Prepackaged Reports that has just the 856 links? ELINK_INDEX will find URLs that exist in many different MARC fields, not just the 856 field.
No, there is no such single Access table.
In this situation you can use the ELINK_INDEX table to identify possible BIB records, then include the GetFieldAll BLOB function to show all of the 856 fields.
The following example query will do that for you. Please note this is a BLOB function query and can take a very long time to run.
SELECT BIB_TEXT.BIB_ID, utf8to16([BIB_TEXT].[TITLE]) AS Title, getfieldall(getbibblob([bib_text].[bib_id]),'856') AS AllBib856 FROM (((ELINK_INDEX INNER JOIN BIB_TEXT ON ELINK_INDEX.RECORD_ID = BIB_TEXT.BIB_ID) INNER JOIN BIB_MFHD ON BIB_TEXT.BIB_ID = BIB_MFHD.BIB_ID) INNER JOIN MFHD_MASTER ON BIB_MFHD.MFHD_ID = MFHD_MASTER.MFHD_ID) INNER JOIN LOCATION ON MFHD_MASTER.LOCATION_ID = LOCATION.LOCATION_ID WHERE (((ELINK_INDEX.RECORD_TYPE)="B")) GROUP BY BIB_TEXT.BIB_ID, utf8to16([BIB_TEXT].[TITLE]), getfieldall(getbibblob([bib_text].[bib_id]),'856');
Pro Tip: Instead of using Access Reports, Global Data Change's "Scan Rules" allow you to easily set up scan jobs to look for specific strings in a specific MARC subfield (such as an 856 subfield u). See the Global Data Change User's Guide for more information.
Constructing custom SQL queries by request and troubleshooting unexpected results from customer-created SQL queries falls outside the scope of Support. The above has been posted for informational purposes. Voyager-L and Developer Network are useful resources for finding helpful custom SQL or obtaining assistance from peers in troubleshooting custom queries.
- Article last edited: 16-Mar-2021