Extract bom from EPDM to ERP database

Does anyone have any information on how to extract information from the custom bill of material table in EPDM? I need to use the existing BOM items in EPDM to populate the table in the ERP system. Its basically one dattabase pulling from another which can easily be done, however I cant seem to find in SQL where EPDM stores these tables on the back end.

SolidworksSolidworks Pdm enterprise Pdm