All Apps and Add-ons

Why does the rising number not match the batch number?

vishalduttauk
Path Finder

Hi there,

I am trying to get a rolling number whenever proposals get activated. I am able to execute the following SQL script which gets me a figure for proposals activated today using this:

 

 

select * from cr_managementinformation where activation_date >= '06-JUNE-23'
order by proposal_status 

 

 

When I change the input type to Batch then i use this:

 

 

SELECT * FROM cr_managementinformation
WHERE PROPOSAL_NUMBER > ?
AND activation_date = TO_DATE(current_date)
ORDER BY PROPOSAL_NUMBER ASC

 

 

The rising number does not match the batch number. i.e. the batch number of activations today is 302 but the rising number is only 5.

 

Can you help?

Labels (3)
0 Karma
Get Updates on the Splunk Community!

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...

We’ve Got Education Validation!

Are you feeling it? All the career-boosting benefits of up-skilling with Splunk? It’s not just a feeling, it's ...

What’s New in Splunk Cloud Platform 9.1.2308?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2308! Analysts can ...