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

    How to export Format Auto Correction Rules - SQL query

    • Article Type: General
    • Product: Rosetta

    Desired Outcome Goal:
    Goal: Export Rosetta's Format Auto Correction Rules.

    Procedure:
    Use the following SQL query to export the format auto correction rules, after replacing ‘XXXX’ with the institution’s database prefix:

    select a.is_active || '- ' || a.param_order || '. ' || a.name || ' : ' || b.type || ' - ' || b.key || ' <' || b.operator_id || '> ' || b.value
    from XXXX_SHR00.HFR_RULE a, XXXX_SHR00.HFR_RULE_PARAM b where a.id = b.rule_id and
    a.rule_type like 'FORMAT_AUTO_CORRECTION'
    and b.key in ('producerId','formatIdList','fileExtension','mimeType','fileSize','createDate','agent','method','formatId')
    and b.value is not null
    order by a.param_order,b.type,b.key;


    • Article last edited: 12/10/2014
    • Was this article helpful?