You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

SQL query to return the image attached to Related Materials

Summary:

Hi

I need help building a SQL query to return the image attached to Related Materials. In a query we can bring the image extension, but not the image.

SELECT wlf_learning_items_f.learning_item_id
   ,wlf_learning_items_f.learning_item_number
 ,wlf_li_relations_f.relation_id
 ,fad.pk1_value
 ,fad.attached_document_id
 ,fdt.document_id
 ,fdt.title
 ,fdt.file_name
 ,fad.creation_date
 FROM fnd_attached_documents fad
   ,fnd_documents_tl fdt
 ,wlf_learning_items_f wlf_learning_items_f
 ,wlf_li_relations_f wlf_li_relations_f
 WHERE fad.document_id = fdt.document_id

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!