0% found this document useful (0 votes)
74 views4 pages

Select ATTRIBUTE

This document contains 3 SQL queries. The first query selects the ATTRIBUTE_CATEGORY from the PO_REQUISITION_HEADERS_all table where the requisition_header_id matches the output of a function call. The second query selects a value from the ATTRIBUTE2 column or ATTRIBUTE13 column from the same table. The third query selects the style_name from the po_doc_style_headers table where the ame_approval_id matches a parameter and the style_id columns match between two tables.

Uploaded by

shehzaib tariq
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views4 pages

Select ATTRIBUTE

This document contains 3 SQL queries. The first query selects the ATTRIBUTE_CATEGORY from the PO_REQUISITION_HEADERS_all table where the requisition_header_id matches the output of a function call. The second query selects a value from the ATTRIBUTE2 column or ATTRIBUTE13 column from the same table. The third query selects the style_name from the po_doc_style_headers table where the ame_approval_id matches a parameter and the style_id columns match between two tables.

Uploaded by

shehzaib tariq
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

select ATTRIBUTE_CATEGORY from PO_REQUISITION_HEADERS_all where requisition_header_id =

po_ame_setup_pvt.get_new_req_header_id(:transactionId)
SELECT nvl(ATTRIBUTE2,(nvl2(ATTRIBUTE2,'ABC',ATTRIBUTE13)))

FROM PO_REQUISITION_HEADERS_all

WHERE requisition_header_id =

po_ame_setup_pvt.get_new_req_header_id ( :transactionId)
SELECT pds.style_name

FROM po_headers_merge_v phm,

po_doc_style_headers pds

WHERE phm.ame_approval_id = :transactionId

AND phm.style_id = pds.style_id

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy