How to filter a Database View

nived_k27
Kilo Contributor

Hi All,

In our instance we are having tables of change requests and change tasks.

Every change request will have number of change tasks, that will get triggered according to the order defined.

I am trying to create a Database View by adding these tables together, that will shows only the lowest order active change task for an active change request.

Can anyone help me on using filters on the where clause.

 

 

 

5 REPLIES 5

GerardP27524936
Tera Contributor

I got this working on a choice (TRUE/FALSE) field:


(cirel_child=eaapps_sys_id || cirel_parent=eaapps_sys_id) && eaapps_u_critical_application=1

The text in black joins two of the same tables with an OR condition.  The text in red returns only TRUE values for the critical application field.

Took a lot of tries - I'm rapt.