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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...