-- 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
🔑 Who Can Do What? Unlocking Kubernetes RBAC (The Security Guard Guide for Newbies 💂♀️)
Hey dev.to fam 👋 Imagine Kubernetes is a massive, bustling city 🏙️ where all your applications (Pods) live…
Why use git worktree?
git worktree is a command that I came across the first time today while browsing the git documentation.…
Stanford’s Marin foundation model: The first fully open model developed using JAX
The Marin project aims to expand the definition of ‘open’ in AI to include the entire scientific process,…