-- Run this once — it generates ready-to-run queries
SELECT 'SELECT ''' || table_name || ''' AS table_name, COUNT(*) AS rows_last_45_days FROM ' ||
table_name || ' WHERE INTERNTIMESTAMP >= SYSDATE - 45;'
FROM user_tab_columns
WHERE UPPER(column_name) = 'INTERNTIMESTAMP'
AND data_type LIKE 'TIMESTAMP%'
ORDER BY table_name;
Related Posts
Why you shouldn’t use slow regular expressions
Introduction Most of the regular expression engines use backtracking to try all possible execution paths of the regular…
How to create an Instagram API client in python: a step-by-step tutorial
How to Create an Instagram API Client in Python: A Step-by-Step Tutorial In the previous post, we set…
A Cost-Effective Guide to prepare and pass the KCNA
If you’re reading this, you’re likely interested in Kubernetes or just curious about my journey—either way, thanks for…