Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3116

How to use the Nested In or where clause in formula for display of top or bottom number of records

$
0
0

Hi All

      I have a requirement of displaying the longest running jobs for which my sql server query is :

 

"Select Top 5 JOB_NAME,REPOSITORY_NAME,EXECUTION_TIME ,STATUS from [dbo].[COMP_HIS_TBL]where STATUS = 'Failure' order by EXECUTION_TIME DESC "

 

In SAP-BO I have used the following formula:

 

Long_JOBRUN.png

However the output displayed in not as desired:(

 

Output_Long_Job_Run.png

Pls provide a solution to this:(


Viewing all articles
Browse latest Browse all 3116

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>