I customised an object like that and click on Do not generate SQL before running
SELECT DISTINCT
RESOURCE_.RESOURCE_NAME
FROM
RESOURCE_
WHERE
( RESOURCE_.RESOURCE_TYPE_CODE=‘AGENT’ )
union
SELECT ‘ALL’
FROM
RESOURCE_
WHERE
( RESOURCE_.RESOURCE_TYPE_CODE=‘AGENT’ )
The problem is that everytime I export it it lose the union part of the query. Any ideas why ?
Ok it makes sense.
How to you create an object that reference DUAL in it
Associate it with the SYS.DUAL or equivalent table so it will parse (optional)