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

    List Voyager Prepackaged Access Reports tables added or modified since a specific date

    • Product: Voyager
    • Relevant for Installation Type: Multi-Tenant Direct, Dedicated-Direct, Local, TotalCare

     

    Question

    How might I get a list of custom SQL tables in my Prepackaged Access Reports Reports.MDB file?

    Answer

    The following query will prompt you for a date.  It will then list the tables that have been added or modified since that date.

    SELECT MSysObjects.Name AS table_name, MSysObjects.DateCreate,
    MSysObjects.DateUpdate
    FROM MSysObjects
    WHERE (((MSysObjects.DateUpdate)>[Date after you last linked or added
    tables]) 
    AND ((Left([Name],1))<>"~") AND ((Left([Name],4))<>"MSys") 
    AND ((MSysObjects.Type) In (1,4,6))) OR
    (((MSysObjects.DateCreate)>[Date after you last linked or added tables]) 
    AND ((Left([Name],1))<>"~") AND ((Left([Name],4))<>"MSys") AND
    ((MSysObjects.Type) In (1,4,6)))
    ORDER BY MSysObjects.Name;

    Additional 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: 18-Sept-2020