Skip to main content
12-Amethyst
June 11, 2016
Solved

epmdocument + secondary content (pvs) sql

  • June 11, 2016
  • 1 reply
  • 1409 views

Hello,

Does somebody know the link between an epmdocument and the secondary content (pvs) with oracle SQL?

Thanks in advance

Best answer by jmomber

This will get you the all the derived images an EPMDocument. If you want to see only the .pvs, you can uncomment the last line.

select a.*

  from derivedimage i, epmdocument e, holdertocontent c, applicationdata a, epmdocumentmaster m

where m.cadname = '<name here>'

and m.ida2a2 = e.ida3masterreference

   and i.ida3a6 = e.ida2a2

   and c.ida3a5 = i.ida2a2

   and c.ida3b5 = a.ida2a2

   --and a.role = 'PRODUCT_VIEW_ED';

1 reply

jmomber12-AmethystAnswer
12-Amethyst
June 14, 2016

This will get you the all the derived images an EPMDocument. If you want to see only the .pvs, you can uncomment the last line.

select a.*

  from derivedimage i, epmdocument e, holdertocontent c, applicationdata a, epmdocumentmaster m

where m.cadname = '<name here>'

and m.ida2a2 = e.ida3masterreference

   and i.ida3a6 = e.ida2a2

   and c.ida3a5 = i.ida2a2

   and c.ida3b5 = a.ida2a2

   --and a.role = 'PRODUCT_VIEW_ED';

12-Amethyst
June 15, 2016

Thanks Jamie,

This works great.

many thanks