-- 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
What is Infrastructure as Code (IaC) and Why It’s Transforming DevOps
Hey there, tech enthusiasts! Ever found yourself drowning in a sea of server configurations, network setups, and cloud…
Day 1: Defining Variables in JavaScript
I’ve started Hitesh Sir’s JavaScript 30 days challenge, and today’s task was all about defining variables and understanding…
REST API
1 INTRODUÇÃO Nas últimas décadas, ocorreu o aumento da complexidade dos sistemas de software, com o aumento da…