Showing posts with label To find all the records in a given component. Below is the query which takes component name as input and the list of all records in that component as. Show all posts
Showing posts with label To find all the records in a given component. Below is the query which takes component name as input and the list of all records in that component as. Show all posts

Wednesday, May 5, 2010

To find all the records in a given component. Below is the query which takes component name as input and the list of all records in that component as

To find all the records in a given component. Below is the query which takes component name as input and the list of all records in that component as

To find all the records in a given component. Below is the query which takes component name as input and the list of all records in that component as output.

SELECT recname
FROM pspnlgroup a, pspnlfield b
WHERE (a.pnlname = b.pnlname OR a.pnlname = b.subpnlname)
AND a.pnlgrpname = :component_name
GROUP BY recname