Skip to content
Discussion options

You must be logged in to vote

Count SQL query records:

select count(*)/datediff('2026-07-01 00:00:00', '2026-05-08 00:00:00')
  from audit_event
 where create_time > '2026-05-08 00:00:00'
   and action = 'SELECT';

Count SQL work order exec records:

select count(*)/datediff('2026-07-01 00:00:00', '2026-05-08 00:00:00')
  from task_task
 where parameters_json like '%sqlContent%'

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by waitspring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant